Class RelationshipOptionsField<T>
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
surfaceISurfacecaptionstringchoicesFunc<IEntityContext, IEntityQuery<T>>
RelationshipOptionsField(ISurface, string, Func<IEntityContext, IQueryable<T>>)
public RelationshipOptionsField(ISurface surface, string caption, Func<IEntityContext, IQueryable<T>> choices)
Parameters
surfaceISurfacecaptionstringchoicesFunc<IEntityContext, IQueryable<T>>
Properties
Count
public int Count { get; }
Property Value
DoClearItems
public ICommand DoClearItems { get; }
Property Value
DoSelectItems
public ICommand DoSelectItems { get; }
Property Value
HasChanges
public override bool HasChanges { get; }
Property Value
Summary
public string Summary { get; set; }
Property Value
Value
The lensed value which this field is modelling
public override IEnumerable<Guid> Value { get; set; }
Property Value
Methods
SetViewFromModelAndNotifyInternal()
protected override void SetViewFromModelAndNotifyInternal()