Table of Contents

Class LookupInlineReferenceField<T>

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

Type Parameters

T
Inheritance
LookupInlineReferenceField<T>
Implements
Inherited Members
Extension Methods

Constructors

LookupInlineReferenceField(ISurface, string, IEntityQuery<T>, IOwnedValue<T?>?, EntitySelector<T>?, EntitySelector<T>?, bool, bool, TimeSpan?, int?, FilterChoices<T>?, bool?)

[Obsolete("Use one of the constructors with an options parameter")]
public LookupInlineReferenceField(ISurface surface, string label, IEntityQuery<T> choices, IOwnedValue<T?>? boundLens = null, EntitySelector<T>? searchOverride = null, EntitySelector<T>? createOverride = null, bool canSearch = true, bool canCreate = false, TimeSpan? throttleOverride = null, int? maximumChoiceCount = null, FilterChoices<T>? filter = null, bool? canNavigateOverride = null)

Parameters

surface ISurface
label string
choices IEntityQuery<T>
boundLens IOwnedValue<T>
searchOverride EntitySelector<T>
createOverride EntitySelector<T>
canSearch bool
canCreate bool
throttleOverride TimeSpan?
maximumChoiceCount int?
filter FilterChoices<T>
canNavigateOverride bool?

LookupInlineReferenceField(ISurface, string, IEntityQuery<T>, T?, EntitySelector<T>?, EntitySelector<T>?, bool, bool, TimeSpan?, int?, FilterChoices<T>?)

[Obsolete("Use one of the constructors with an options parameter")]
public LookupInlineReferenceField(ISurface surface, string label, IEntityQuery<T> choices, T? initialValue, EntitySelector<T>? searchOverride = null, EntitySelector<T>? createOverride = null, bool canSearch = true, bool canCreate = false, TimeSpan? throttleOverride = null, int? maximumChoiceCount = null, FilterChoices<T>? filter = null)

Parameters

surface ISurface
label string
choices IEntityQuery<T>
initialValue T
searchOverride EntitySelector<T>
createOverride EntitySelector<T>
canSearch bool
canCreate bool
throttleOverride TimeSpan?
maximumChoiceCount int?
filter FilterChoices<T>

LookupInlineReferenceField(ISurface, string, IQueryable<T>, IOwnedValue<T?>?, EntitySelector<T>?, EntitySelector<T>?, bool, bool, TimeSpan?, int?, FilterChoices<T>?, bool?)

[Obsolete("Use one of the constructors with an options parameter")]
public LookupInlineReferenceField(ISurface surface, string label, IQueryable<T> choices, IOwnedValue<T?>? boundLens = null, EntitySelector<T>? searchOverride = null, EntitySelector<T>? createOverride = null, bool canSearch = true, bool canCreate = false, TimeSpan? throttleOverride = null, int? maximumChoiceCount = null, FilterChoices<T>? filter = null, bool? canNavigateOverride = null)

Parameters

surface ISurface
label string
choices IQueryable<T>
boundLens IOwnedValue<T>
searchOverride EntitySelector<T>
createOverride EntitySelector<T>
canSearch bool
canCreate bool
throttleOverride TimeSpan?
maximumChoiceCount int?
filter FilterChoices<T>
canNavigateOverride bool?

LookupInlineReferenceField(ISurface, string, IQueryable<T>, T?, EntitySelector<T>?, EntitySelector<T>?, bool, bool, TimeSpan?, int?, FilterChoices<T>?)

[Obsolete("Use one of the constructors with an options parameter")]
public LookupInlineReferenceField(ISurface surface, string label, IQueryable<T> choices, T? initialValue, EntitySelector<T>? searchOverride = null, EntitySelector<T>? createOverride = null, bool canSearch = true, bool canCreate = false, TimeSpan? throttleOverride = null, int? maximumChoiceCount = null, FilterChoices<T>? filter = null)

Parameters

surface ISurface
label string
choices IQueryable<T>
initialValue T
searchOverride EntitySelector<T>
createOverride EntitySelector<T>
canSearch bool
canCreate bool
throttleOverride TimeSpan?
maximumChoiceCount int?
filter FilterChoices<T>

LookupInlineReferenceField(ISurface, string, IOwnedValue<T?>, LookupInlineReferenceOptions<T>?)

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

Parameters

surface ISurface
label string
boundLens IOwnedValue<T>
options LookupInlineReferenceOptions<T>

LookupInlineReferenceField(ISurface, EntityReferenceProperty<T>, LookupInlineReferenceOptions<T>?)

public LookupInlineReferenceField(ISurface surface, EntityReferenceProperty<T> boundLens, LookupInlineReferenceOptions<T>? options = null)

Parameters

surface ISurface
boundLens EntityReferenceProperty<T>
options LookupInlineReferenceOptions<T>

Properties

DoSelectorMode

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

IsLoading

public bool IsLoading { get; }

Property Value

bool

IsNavigable

public bool IsNavigable { get; }

Property Value

bool

Metadata

public PropertyInfo? Metadata { get; }

Property Value

PropertyInfo

Selector

public EntitySelectorModel<T> Selector { get; }

Property Value

EntitySelectorModel<T>

ShowSelector

public bool ShowSelector { get; set; }

Property Value

bool

Value

The lensed value which this field is modelling

public override T? Value { get; set; }

Property Value

T

Methods

SetViewFromModelAndNotifyInternal()

protected override void SetViewFromModelAndNotifyInternal()