Table of Contents

Class SectionedCollectionFieldBase<T, TSubscreen, TView>

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll
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

T
TSubscreen
TView
Inheritance
SectionedCollectionFieldBase<T, TSubscreen, TView>
Implements
Derived
Inherited Members
Extension Methods

Constructors

SectionedCollectionFieldBase(ISurface, IEntitySet<T>, string, string)

protected SectionedCollectionFieldBase(ISurface surface, IEntitySet<T> boundSet, string name, string @namespace)

Parameters

surface ISurface
boundSet IEntitySet<T>
name string
namespace string

Fields

BoundSet

protected IEntitySet<T> BoundSet

Field Value

IEntitySet<T>

Properties

Commands

public CommandsMenuModel? Commands { get; protected set; }

Property Value

CommandsMenuModel

HasLabel

True if the field should be labelled inline

public override bool HasLabel { get; }

Property Value

bool

IsVisible

True if the field should be displayed

public override bool IsVisible { get; }

Property Value

bool

Metadata

public PropertyInfo? Metadata { get; }

Property Value

PropertyInfo

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

getEntities IEntitySet<T>

Returns

TSubscreen

OnSubscreenPropertyChanged(object?, PropertyChangedEventArgs)

protected virtual void OnSubscreenPropertyChanged(object? sender, PropertyChangedEventArgs args)

Parameters

sender object
args PropertyChangedEventArgs

SetViewFromModelAndNotifyInternal()

protected override void SetViewFromModelAndNotifyInternal()