Table of Contents

Class RelationshipOptionsField<T>

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll
public sealed class RelationshipOptionsField<T> : RelationshipOptionsFieldBase, IField<IEnumerable<Guid>>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo where T : IEntity<T>

Type Parameters

T
Inheritance
RelationshipOptionsField<T>
Implements
Inherited Members
Extension Methods

Constructors

RelationshipOptionsField(ISurface, string, Func<IEntityContext, IEntityQuery<T>>)

public RelationshipOptionsField(ISurface surface, string caption, Func<IEntityContext, IEntityQuery<T>> choices = null)

Parameters

surface ISurface
caption string
choices Func<IEntityContext, IEntityQuery<T>>

RelationshipOptionsField(ISurface, string, Func<IEntityContext, IQueryable<T>>)

public RelationshipOptionsField(ISurface surface, string caption, Func<IEntityContext, IQueryable<T>> choices)

Parameters

surface ISurface
caption string
choices Func<IEntityContext, IQueryable<T>>

Properties

Count

public int Count { get; }

Property Value

int

DoClearItems

public ICommand DoClearItems { get; }

Property Value

ICommand

DoSelectItems

public ICommand DoSelectItems { get; }

Property Value

ICommand

HasChanges

public override bool HasChanges { get; }

Property Value

bool

Summary

public string Summary { get; set; }

Property Value

string

Value

The lensed value which this field is modelling

public override IEnumerable<Guid> Value { get; set; }

Property Value

IEnumerable<Guid>

Methods

SetViewFromModelAndNotifyInternal()

protected override void SetViewFromModelAndNotifyInternal()