Back to Devexpress

IModelCommonMemberViewItem.LookupEditorMode Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelcommonmemberviewitem-e25b5acd.md

latest2.9 KB
Original Source

IModelCommonMemberViewItem.LookupEditorMode Property

Specifies the mode of the current Lookup Property Editor.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[ModelBrowsable(typeof(TagBoxListPropertyEditorCalculator))]
LookupEditorMode LookupEditorMode { get; set; }
vb
<ModelBrowsable(GetType(TagBoxListPropertyEditorCalculator))>
Property LookupEditorMode As LookupEditorMode

Property Value

TypeDescription
LookupEditorMode

A LookupEditorMode enumeration value specifying the mode of the current Lookup Property Editor.

|

Available values:

NameDescription
Auto

Specifies that XAF adds the Search feature to the Lookup Property Editor if the presumed object count in its data source collection is greater than a specified value. To specify the value, access the Options node and use the IModelOptions.LookupSmallCollectionItemCount property. The Search feature allows you to find and retrieve the required object.

| | AllItems |

Specifies that all objects of the specified type are loaded to the Lookup Property Editor’s data source.

| | Search |

Specifies that the Lookup Property Editor’s data source is empty, and the Search feature is available. This feature allows you to find and retrieve the required object.

| | AllItemsWithSearch |

Specifies that all objects of the specified type are loaded to the Lookup Property Editor’s data source, and the Search feature is available. This feature allows you to find the required object.

|

See Also

How to: Add a Search Action to Lookup Property Editors and Link Pop-up Windows

Reference (Foreign Key, Complex Type) Properties

IModelCommonMemberViewItem Interface

IModelCommonMemberViewItem Members

DevExpress.ExpressApp.Model Namespace