Class EnumSectionedCollectionField<T>
public sealed class EnumSectionedCollectionField<T> : FieldBase<IEntitySet<T>, EnumSectionedCollectionView>, IField<IEntitySet<T>>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo where T : IEntity<T>
Type Parameters
T
- Inheritance
-
FieldBase<IEntitySet<T>>EnumSectionedCollectionField<T>
- Implements
-
IField<IEntitySet<T>>
- Inherited Members
- Extension Methods
Constructors
EnumSectionedCollectionField(ISurface, string, IEntityQuery<T>, IEntitySet<T>, bool)
public EnumSectionedCollectionField(ISurface surface, string label, IEntityQuery<T> choices, IEntitySet<T> boundSet = null, bool canCreate = false)
Parameters
surfaceISurfacelabelstringchoicesIEntityQuery<T>boundSetIEntitySet<T>canCreatebool
EnumSectionedCollectionField(ISurface, string, IQueryable<T>, IEntitySet<T>, bool)
public EnumSectionedCollectionField(ISurface surface, string label, IQueryable<T> choices, IEntitySet<T> boundSet = null, bool canCreate = false)
Parameters
surfaceISurfacelabelstringchoicesIQueryable<T>boundSetIEntitySet<T>canCreatebool
Properties
CanCreate
public bool CanCreate { get; }
Property Value
DoCreate
public ICommand DoCreate { get; }
Property Value
DoDeselectAll
public ICommand DoDeselectAll { get; }
Property Value
DoInvertSelection
public ICommand DoInvertSelection { get; }
Property Value
DoSelectAll
public ICommand DoSelectAll { get; }
Property Value
Filter
public string Filter { get; set; }
Property Value
HasChanges
public override bool HasChanges { get; }
Property Value
HasLabel
True if the field should be labelled inline
public override bool HasLabel { get; }
Property Value
IsEditable
public override bool IsEditable { get; }
Property Value
SelectableEntities
public IEnumerable<SelectableEntityModel<T>> SelectableEntities { get; }
Property Value
Value
The lensed value which this field is modelling
public override IEntitySet<T> Value { get; set; }
Property Value
- IEntitySet<T>
Methods
CreateAsync()
public Task CreateAsync()
Returns
DeselectAll()
public void DeselectAll()
InvertSelection()
public void InvertSelection()
LoadChoicesAsync()
public Task LoadChoicesAsync()
Returns
SelectAll()
public void SelectAll()
SetViewFromModelAndNotifyInternal()
protected override void SetViewFromModelAndNotifyInternal()