Class SectionedCollectionFieldBase<T, TSubscreen, TView>
public abstract class SectionedCollectionFieldBase<T, TSubscreen, TView> : FieldBase<IEntitySet<T>, TView>, IField<IEntitySet<T>>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo, IBoundField where T : IEntity where TSubscreen : IScreenModel
Type Parameters
TTSubscreenTView
- Inheritance
-
FieldBase<IEntitySet<T>>FieldBase<IEntitySet<T>, TView>SectionedCollectionFieldBase<T, TSubscreen, TView>
- Implements
-
IField<IEntitySet<T>>
- Derived
- Inherited Members
- Extension Methods
Constructors
SectionedCollectionFieldBase(ISurface, IEntitySet<T>, string, string)
protected SectionedCollectionFieldBase(ISurface surface, IEntitySet<T> boundSet, string name, string @namespace)
Parameters
surfaceISurfaceboundSetIEntitySet<T>namestringnamespacestring
Fields
BoundSet
protected IEntitySet<T> BoundSet
Field Value
- IEntitySet<T>
Properties
Commands
public CommandsMenuModel? Commands { get; protected set; }
Property Value
HasLabel
True if the field should be labelled inline
public override bool HasLabel { get; }
Property Value
IsVisible
True if the field should be displayed
public override bool IsVisible { get; }
Property Value
Metadata
public PropertyInfo? Metadata { get; }
Property Value
Subscreen
public TSubscreen Subscreen { get; }
Property Value
- TSubscreen
Value
The lensed value which this field is modelling
public override IEntitySet<T> Value { get; set; }
Property Value
- IEntitySet<T>
Methods
CreateSubscreen(IEntitySet<T>)
protected abstract TSubscreen CreateSubscreen(IEntitySet<T> getEntities)
Parameters
getEntitiesIEntitySet<T>
Returns
- TSubscreen
OnSubscreenPropertyChanged(object?, PropertyChangedEventArgs)
protected virtual void OnSubscreenPropertyChanged(object? sender, PropertyChangedEventArgs args)
Parameters
senderobjectargsPropertyChangedEventArgs
SetViewFromModelAndNotifyInternal()
protected override void SetViewFromModelAndNotifyInternal()