Table of Contents

Class ValueInlineReferenceField<T>

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll
public sealed class ValueInlineReferenceField<T> : FieldBase<T?, ValueInlineReferenceView>, IField<T?>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo, IBoundField where T : IEntity<T>

Type Parameters

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

surface ISurface
label string
boundLens IOwnedValue<T>
isEditable bool

ValueInlineReferenceField(ISurface, string, T?)

public ValueInlineReferenceField(ISurface surface, string label, T? initialValue)

Parameters

surface ISurface
label string
initialValue T

Properties

CanClear

public bool CanClear { get; }

Property Value

bool

CanCreate

public bool CanCreate { get; }

Property Value

bool

CanOpen

public bool CanOpen { get; }

Property Value

bool

DoClear

public ICommand DoClear { get; }

Property Value

ICommand

DoCreate

public ICommand DoCreate { get; }

Property Value

ICommand

DoOpen

public ICommand DoOpen { get; }

Property Value

ICommand

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

bool

IsEditable

public override bool IsEditable { get; }

Property Value

bool

IsLoading

public bool IsLoading { get; }

Property Value

bool

Metadata

public PropertyInfo Metadata { get; }

Property Value

PropertyInfo

Value

The lensed value which this field is modelling

public override T? Value { get; set; }

Property Value

T

Methods

SetViewFromModelAndNotifyInternal()

protected override void SetViewFromModelAndNotifyInternal()