Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LookupEditorModeAttribute.Mode Property

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

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#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 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