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>, LookupSectionedCollectionFieldOptions<T>)
public LookupSectionedCollectionField(ISurface surface, string label, IEntityQuery<T> choices, IEntitySet<T> boundSet, LookupSectionedCollectionFieldOptions<T> options)
Parameters
surfaceISurfacelabelstringchoicesIEntityQuery<T>boundSetIEntitySet<T>optionsLookupSectionedCollectionFieldOptions<T>
LookupSectionedCollectionField(ISurface, string, IQueryable<T>, IEntitySet<T>, LookupSectionedCollectionFieldOptions<T>)
public LookupSectionedCollectionField(ISurface surface, string label, IQueryable<T> choices, IEntitySet<T> boundSet, LookupSectionedCollectionFieldOptions<T> options)
Parameters
surfaceISurfacelabelstringchoicesIQueryable<T>boundSetIEntitySet<T>optionsLookupSectionedCollectionFieldOptions<T>
Properties
DoToggleAdding
public ShellCommand DoToggleAdding { get; }
Property Value
Error
Gets an error message indicating what is wrong with this object.
public override string Error { get; }
Property Value
- string
An error message indicating what is wrong with this object. The default is an empty string ("").
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>