Class ValueInlineReferenceField<T>
public sealed class ValueInlineReferenceField<T> : FieldBase<T?, ValueInlineReferenceView>, IField<T?>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo, IBoundField where T : IEntity<T>
Type Parameters
T
- Inheritance
-
FieldBase<T>ValueInlineReferenceField<T>
- Implements
-
IField<T>
- Inherited Members
- Extension Methods
Constructors
ValueInlineReferenceField(ISurface, string, IOwnedValue<T?>?, bool)
public ValueInlineReferenceField(ISurface surface, string label, IOwnedValue<T?>? boundLens = null, bool isEditable = true)
Parameters
surfaceISurfacelabelstringboundLensIOwnedValue<T>isEditablebool
ValueInlineReferenceField(ISurface, string, T?)
public ValueInlineReferenceField(ISurface surface, string label, T? initialValue)
Parameters
Properties
CanClear
public bool CanClear { get; }
Property Value
CanCreate
public bool CanCreate { get; }
Property Value
CanOpen
public bool CanOpen { get; }
Property Value
DoClear
public ICommand DoClear { get; }
Property Value
DoCreate
public ICommand DoCreate { get; }
Property Value
DoOpen
public ICommand DoOpen { get; }
Property Value
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
IsEditable
public override bool IsEditable { get; }
Property Value
IsLoading
public bool IsLoading { get; }
Property Value
Metadata
public PropertyInfo Metadata { get; }
Property Value
Value
The lensed value which this field is modelling
public override T? Value { get; set; }
Property Value
- T
Methods
SetViewFromModelAndNotifyInternal()
protected override void SetViewFromModelAndNotifyInternal()