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?>?, Selector<T>?, Selector<T>?, bool, bool, TimeSpan?, int?, Func<IEntityQuery<T>, string?, IEntityQuery<T>>?, bool?)

public LookupInlineReferenceField(ISurface surface, string label, IEntityQuery<T> choices, IOwnedValue<T?>? boundLens = null, Selector<T>? searchOverride = null, Selector<T>? createOverride = null, bool canSearch = true, bool canCreate = false, TimeSpan? throttleOverride = null, int? maximumChoiceCount = null, Func<IEntityQuery<T>, string?, IEntityQuery<T>>? filterChoices = null, bool? canNavigateOverride = null)

Parameters

surface ISurface
label string
choices IEntityQuery<T>
boundLens IOwnedValue<T>
searchOverride Selector<T>
createOverride Selector<T>
canSearch bool
canCreate bool
throttleOverride TimeSpan?
maximumChoiceCount int?
filterChoices Func<IEntityQuery<T>, string, IEntityQuery<T>>
canNavigateOverride bool?

LookupInlineReferenceField(ISurface, string, IEntityQuery<T>, T?, Selector<T>?, Selector<T>?, bool, bool, TimeSpan?, int?, Func<IEntityQuery<T>, string?, IEntityQuery<T>>?)

public LookupInlineReferenceField(ISurface surface, string label, IEntityQuery<T> choices, T? initialValue, Selector<T>? searchOverride = null, Selector<T>? createOverride = null, bool canSearch = true, bool canCreate = false, TimeSpan? throttleOverride = null, int? maximumChoiceCount = null, Func<IEntityQuery<T>, string?, IEntityQuery<T>>? filterChoices = null)

Parameters

surface ISurface
label string
choices IEntityQuery<T>
initialValue T
searchOverride Selector<T>
createOverride Selector<T>
canSearch bool
canCreate bool
throttleOverride TimeSpan?
maximumChoiceCount int?
filterChoices Func<IEntityQuery<T>, string, IEntityQuery<T>>

LookupInlineReferenceField(ISurface, string, IQueryable<T>, IOwnedValue<T?>?, Selector<T>?, Selector<T>?, bool, bool, TimeSpan?, int?, Func<IEntityQuery<T>, string?, IEntityQuery<T>>?, bool?)

public LookupInlineReferenceField(ISurface surface, string label, IQueryable<T> choices, IOwnedValue<T?>? boundLens = null, Selector<T>? searchOverride = null, Selector<T>? createOverride = null, bool canSearch = true, bool canCreate = false, TimeSpan? throttleOverride = null, int? maximumChoiceCount = null, Func<IEntityQuery<T>, string?, IEntityQuery<T>>? filterChoices = null, bool? canNavigateOverride = null)

Parameters

surface ISurface
label string
choices IQueryable<T>
boundLens IOwnedValue<T>
searchOverride Selector<T>
createOverride Selector<T>
canSearch bool
canCreate bool
throttleOverride TimeSpan?
maximumChoiceCount int?
filterChoices Func<IEntityQuery<T>, string, IEntityQuery<T>>
canNavigateOverride bool?

LookupInlineReferenceField(ISurface, string, IQueryable<T>, T?, Selector<T>?, Selector<T>?, bool, bool, TimeSpan?, int?, Func<IEntityQuery<T>, string?, IEntityQuery<T>>?)

public LookupInlineReferenceField(ISurface surface, string label, IQueryable<T> choices, T? initialValue, Selector<T>? searchOverride = null, Selector<T>? createOverride = null, bool canSearch = true, bool canCreate = false, TimeSpan? throttleOverride = null, int? maximumChoiceCount = null, Func<IEntityQuery<T>, string?, IEntityQuery<T>>? filterChoices = null)

Parameters

surface ISurface
label string
choices IQueryable<T>
initialValue T
searchOverride Selector<T>
createOverride Selector<T>
canSearch bool
canCreate bool
throttleOverride TimeSpan?
maximumChoiceCount int?
filterChoices Func<IEntityQuery<T>, string, IEntityQuery<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()