Table of Contents

Class LookupSectionedCollectionField<T>

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll
public class LookupSectionedCollectionField<T> : SectionedCollectionFieldBase<T, ListModel<T>, LookupSectionedCollectionView>, IField<IEntitySet<T>>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo, IBoundField where T : IEntity<T>

Type Parameters

T
Inheritance
LookupSectionedCollectionField<T>
Implements
Inherited Members
Extension Methods

Constructors

LookupSectionedCollectionField(ISurface, string, IEntityQuery<T>, IEntitySet<T>, LookupSectionedCollectionOptions<T>)

[Obsolete("Use the constructor with choices included in options")]
public LookupSectionedCollectionField(ISurface surface, string label, IEntityQuery<T> choices, IEntitySet<T> boundSet, LookupSectionedCollectionOptions<T> options)

Parameters

surface ISurface
label string
choices IEntityQuery<T>
boundSet IEntitySet<T>
options LookupSectionedCollectionOptions<T>

LookupSectionedCollectionField(ISurface, string, IQueryable<T>, IEntitySet<T>, LookupSectionedCollectionOptions<T>)

[Obsolete("Use the constructor with choices included in options")]
public LookupSectionedCollectionField(ISurface surface, string label, IQueryable<T> choices, IEntitySet<T> boundSet, LookupSectionedCollectionOptions<T> options)

Parameters

surface ISurface
label string
choices IQueryable<T>
boundSet IEntitySet<T>
options LookupSectionedCollectionOptions<T>

LookupSectionedCollectionField(ISurface, string, IEntitySet<T>, LookupSectionedCollectionOptions<T>?)

public LookupSectionedCollectionField(ISurface surface, string label, IEntitySet<T> boundSet, LookupSectionedCollectionOptions<T>? options = null)

Parameters

surface ISurface
label string
boundSet IEntitySet<T>
options LookupSectionedCollectionOptions<T>

LookupSectionedCollectionField(ISurface, EntityCollectionProperty<T>, LookupSectionedCollectionOptions<T>?)

public LookupSectionedCollectionField(ISurface surface, EntityCollectionProperty<T> boundSet, LookupSectionedCollectionOptions<T>? options = null)

Parameters

surface ISurface
boundSet EntityCollectionProperty<T>
options LookupSectionedCollectionOptions<T>

Properties

DoToggleAdding

public ShellCommand DoToggleAdding { get; }

Property Value

ShellCommand

HasChanges

public override bool HasChanges { get; }

Property Value

bool

IsAdding

public bool IsAdding { get; set; }

Property Value

bool

Selector

public EntitySelectorModel<T> Selector { get; }

Property Value

EntitySelectorModel<T>

Methods

CreateSubscreen(IEntitySet<T>)

protected override ListModel<T> CreateSubscreen(IEntitySet<T> getEntities)

Parameters

getEntities IEntitySet<T>

Returns

ListModel<T>

Validate()

public override string? Validate()

Returns

string