Class ValueSectionedReferenceField<T>
public sealed class ValueSectionedReferenceField<T> : FieldBase<T?, ValueSectionedReferenceView>, IField<T?>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo where T : IEntity<T>
Type Parameters
T
- Inheritance
-
FieldBase<T>ValueSectionedReferenceField<T>
- Implements
-
IField<T>
- Inherited Members
- Extension Methods
Constructors
ValueSectionedReferenceField(ISurface, string, bool, IOwnedValue<T?>?)
public ValueSectionedReferenceField(ISurface surface, string label, bool contentEditable, IOwnedValue<T?>? boundLens = null)
Parameters
surfaceISurfacelabelstringcontentEditableboolboundLensIOwnedValue<T>
ValueSectionedReferenceField(ISurface, string, bool, T)
public ValueSectionedReferenceField(ISurface surface, string label, bool contentEditable, T initialValue)
Parameters
Properties
AddButtonText
public string AddButtonText { get; set; }
Property Value
CanCreate
public bool CanCreate { get; }
Property Value
CanDelete
public bool CanDelete { get; }
Property Value
DoCreate
public ICommand DoCreate { get; }
Property Value
DoDelete
public ICommand DoDelete { 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
HasLabel
True if the field should be labelled inline
public override bool HasLabel { get; }
Property Value
IsEditable
public override bool IsEditable { get; }
Property Value
IsLoading
public bool IsLoading { get; }
Property Value
IsVisible
True if the field should be displayed
public override bool IsVisible { get; }
Property Value
Metadata
public PropertyInfo Metadata { get; }
Property Value
RemoveButtonText
public string RemoveButtonText { get; set; }
Property Value
Subscreen
public ContentModel<T>? Subscreen { get; }
Property Value
- ContentModel<T>
Value
The lensed value which this field is modelling
public override T? Value { get; set; }
Property Value
- T
Methods
Create()
public void Create()
DeleteAsync()
public Task DeleteAsync()
Returns
SetViewFromModelAndNotifyInternal()
protected override void SetViewFromModelAndNotifyInternal()