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.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
LookupEditorMode DefaultLookupEditorMode { get; set; }
#Property Value
Type | Description |
---|---|
Lookup |
A Lookup |
Available values:
Name | Description |
---|---|
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 IModel |
All |
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. |
All |
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. |
#Remarks
By default, this property is set to the LookupEditorMode.Auto.