Table of Contents

Class ValueSectionedCollectionField<T, TView>

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll
public class ValueSectionedCollectionField<T, TView> : SectionedCollectionFieldBase<T, IScreenModel, TView>, IField<IEntitySet<T>>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo, IBoundField where T : IEntity<T>

Type Parameters

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

Constructors

ValueSectionedCollectionField(ISurface, string, IEntitySet<T>, ValueSectionedCollectionOptions<T>?)

public ValueSectionedCollectionField(ISurface surface, string label, IEntitySet<T> boundSet, ValueSectionedCollectionOptions<T>? options = null)

Parameters

surface ISurface
label string
boundSet IEntitySet<T>
options ValueSectionedCollectionOptions<T>

ValueSectionedCollectionField(ISurface, EntityCollectionProperty<T>, ValueSectionedCollectionOptions<T>?)

public ValueSectionedCollectionField(ISurface surface, EntityCollectionProperty<T> boundSet, ValueSectionedCollectionOptions<T>? options = null)

Parameters

surface ISurface
boundSet EntityCollectionProperty<T>
options ValueSectionedCollectionOptions<T>

Properties

AddButtonText

protected string AddButtonText { get; }

Property Value

string

CanAdd

public virtual bool CanAdd { get; }

Property Value

bool

DoAdd

public ShellCommand DoAdd { get; }

Property Value

ShellCommand

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

bool

IsContentEditable

public bool? IsContentEditable { get; }

Property Value

bool?

Methods

Add()

public virtual Task Add()

Returns

Task

CreateSubscreen(IEntitySet<T>)

protected override IScreenModel CreateSubscreen(IEntitySet<T> entitySet)

Parameters

entitySet IEntitySet<T>

Returns

IScreenModel

Delete(T)

public virtual Task Delete(T entity)

Parameters

entity T

Returns

Task