IModelClass.DefaultLookupEditorMode Property
Specifies the default mode for Lookup Property Editors bound to reference properties of the current type.
Namespace: DevExpress.ExpressApp.Model
Assembly:
DevExpress.ExpressApp.v26.1.dll
NuGet Package:
DevExpress.ExpressApp
Declaration
LookupEditorMode DefaultLookupEditorMode { get; set; }
Property DefaultLookupEditorMode As LookupEditorMode
Property Value
| Type |
Description |
| LookupEditorMode |
A LookupEditorMode enumeration value specifying the default mode for Lookup Property Editors bound to reference properties of the current type.
|
Available values:
| Name |
Description |
|
Auto
|
Blazor: Equals the AllItems value.
WinForms: If the Lookup Property Editor’s data source collection contains fewer objects than LookupSmallCollectionItemCount, the editor’s behavior equals the AllItems; otherwise the behavior equals Search.
|
|
AllItems
|
All objects are loaded to the Lookup Property Editor’s data source. The Search feature is disabled.
|
|
Search
|
The Lookup Property Editor’s data source is empty. The Search feature is available.
|
|
AllItemsWithSearch
|
All objects are loaded to the Lookup Property Editor’s data source. The Search feature is available.
|
By default, this property is set to the LookupEditorMode.Auto.
See Also