Table of Contents

Class EnumSectionedCollectionField<T>

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll
public sealed class EnumSectionedCollectionField<T> : FieldBase<IEntitySet<T>, EnumSectionedCollectionView>, IField<IEntitySet<T>>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo where T : IEntity<T>

Type Parameters

T
Inheritance
EnumSectionedCollectionField<T>
Implements
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

surface ISurface
label string
choices IEntityQuery<T>
boundSet IEntitySet<T>
canCreate bool

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

surface ISurface
label string
choices IQueryable<T>
boundSet IEntitySet<T>
canCreate bool

Properties

CanCreate

public bool CanCreate { get; }

Property Value

bool

DoCreate

public ICommand DoCreate { get; }

Property Value

ICommand

DoDeselectAll

public ICommand DoDeselectAll { get; }

Property Value

ICommand

DoInvertSelection

public ICommand DoInvertSelection { get; }

Property Value

ICommand

DoSelectAll

public ICommand DoSelectAll { get; }

Property Value

ICommand

Filter

public string Filter { get; set; }

Property Value

string

HasChanges

public override bool HasChanges { get; }

Property Value

bool

HasLabel

True if the field should be labelled inline

public override bool HasLabel { get; }

Property Value

bool

IsEditable

public override bool IsEditable { get; }

Property Value

bool

SelectableEntities

public IEnumerable<SelectableEntityModel<T>> SelectableEntities { get; }

Property Value

IEnumerable<SelectableEntityModel<T>>

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

Task

DeselectAll()

public void DeselectAll()

InvertSelection()

public void InvertSelection()

LoadChoicesAsync()

public Task LoadChoicesAsync()

Returns

Task

SelectAll()

public void SelectAll()

SetViewFromModelAndNotifyInternal()

protected override void SetViewFromModelAndNotifyInternal()