Class LookupSectionedCollectionField<T>
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
-
FieldBase<IEntitySet<T>>LookupSectionedCollectionField<T>
- Implements
-
IField<IEntitySet<T>>
- 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
surfaceISurfacelabelstringchoicesIEntityQuery<T>boundSetIEntitySet<T>optionsLookupSectionedCollectionOptions<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
surfaceISurfacelabelstringchoicesIQueryable<T>boundSetIEntitySet<T>optionsLookupSectionedCollectionOptions<T>
LookupSectionedCollectionField(ISurface, string, IEntitySet<T>, LookupSectionedCollectionOptions<T>?)
public LookupSectionedCollectionField(ISurface surface, string label, IEntitySet<T> boundSet, LookupSectionedCollectionOptions<T>? options = null)
Parameters
surfaceISurfacelabelstringboundSetIEntitySet<T>optionsLookupSectionedCollectionOptions<T>
LookupSectionedCollectionField(ISurface, EntityCollectionProperty<T>, LookupSectionedCollectionOptions<T>?)
public LookupSectionedCollectionField(ISurface surface, EntityCollectionProperty<T> boundSet, LookupSectionedCollectionOptions<T>? options = null)
Parameters
surfaceISurfaceboundSetEntityCollectionProperty<T>optionsLookupSectionedCollectionOptions<T>
Properties
DoToggleAdding
public ShellCommand DoToggleAdding { get; }
Property Value
HasChanges
public override bool HasChanges { get; }
Property Value
IsAdding
public bool IsAdding { get; set; }
Property Value
Selector
public EntitySelectorModel<T> Selector { get; }
Property Value
Methods
CreateSubscreen(IEntitySet<T>)
protected override ListModel<T> CreateSubscreen(IEntitySet<T> getEntities)
Parameters
getEntitiesIEntitySet<T>
Returns
- ListModel<T>
Validate()
public override string? Validate()