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)

[Obsolete("Use one of the constructors with an options parameter")]
public ValueInlineReferenceField(ISurface surface, string label, IOwnedValue<T?>? boundLens, bool isEditable)

Parameters

surface ISurface
label string
boundLens IOwnedValue<T>
isEditable bool

ValueInlineReferenceField(ISurface, string, IOwnedValue<T?>, ValueInlineReferenceOptions?)

public ValueInlineReferenceField(ISurface surface, string label, IOwnedValue<T?> boundLens, ValueInlineReferenceOptions? options = null)

Parameters

surface ISurface
label string
boundLens IOwnedValue<T>
options ValueInlineReferenceOptions

ValueInlineReferenceField(ISurface, EntityReferenceProperty<T>, ValueInlineReferenceOptions?)

public ValueInlineReferenceField(ISurface surface, EntityReferenceProperty<T> boundLens, ValueInlineReferenceOptions? options = null)

Parameters

surface ISurface
boundLens EntityReferenceProperty<T>
options ValueInlineReferenceOptions

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

CanOpenForEdit

public bool CanOpenForEdit { get; }

Property Value

bool

CanOpenForPreview

public bool CanOpenForPreview { 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

DoPreview

public ICommand DoPreview { 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

IsContentEditable

public bool? IsContentEditable { 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()