Class LookupInlineReferenceField<T>
public sealed class LookupInlineReferenceField<T> : FieldBase<T?, LookupInlineReferenceView>, IField<T?>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo, IBoundField where T : IEntity<T>
Type Parameters
T
- Inheritance
-
FieldBase<T>LookupInlineReferenceField<T>
- Implements
-
IField<T>
- 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
surfaceISurfacelabelstringchoicesIEntityQuery<T>boundLensIOwnedValue<T>searchOverrideSelector<T>createOverrideSelector<T>canSearchboolcanCreateboolthrottleOverrideTimeSpan?maximumChoiceCountint?filterChoicesFunc<IEntityQuery<T>, string, IEntityQuery<T>>canNavigateOverridebool?
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
surfaceISurfacelabelstringchoicesIEntityQuery<T>initialValueTsearchOverrideSelector<T>createOverrideSelector<T>canSearchboolcanCreateboolthrottleOverrideTimeSpan?maximumChoiceCountint?filterChoicesFunc<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
surfaceISurfacelabelstringchoicesIQueryable<T>boundLensIOwnedValue<T>searchOverrideSelector<T>createOverrideSelector<T>canSearchboolcanCreateboolthrottleOverrideTimeSpan?maximumChoiceCountint?filterChoicesFunc<IEntityQuery<T>, string, IEntityQuery<T>>canNavigateOverridebool?
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
surfaceISurfacelabelstringchoicesIQueryable<T>initialValueTsearchOverrideSelector<T>createOverrideSelector<T>canSearchboolcanCreateboolthrottleOverrideTimeSpan?maximumChoiceCountint?filterChoicesFunc<IEntityQuery<T>, string, IEntityQuery<T>>
Properties
DoSelectorMode
public ICommand DoSelectorMode { 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
IsLoading
public bool IsLoading { get; }
Property Value
IsNavigable
public bool IsNavigable { get; }
Property Value
Metadata
public PropertyInfo? Metadata { get; }
Property Value
Selector
public EntitySelectorModel<T> Selector { get; }
Property Value
ShowSelector
public bool ShowSelector { get; set; }
Property Value
Value
The lensed value which this field is modelling
public override T? Value { get; set; }
Property Value
- T
Methods
SetViewFromModelAndNotifyInternal()
protected override void SetViewFromModelAndNotifyInternal()