Skip to main content
A newer version of this page is available. .

LookupEditorModeAttribute.Mode Property

Specifies the mode of the target business class property’s Lookup Property Editor.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public LookupEditorMode Mode { get; }

Property Value

Type Description
LookupEditorMode

A LookupEditorMode enumeration value representing a display mode of the target property’s Lookup Property Editor.

Available values:

Name Description
Auto

Specifies that the Search feature is added to the Lookup Property Editor if the presumed object count in its data source collection is greater than a specified value. This value is specified by the Options node’s 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