Back to Devexpress

LookupEditorMode Enum

expressappframework-devexpress-dot-persistent-dot-base-7cc931e4.md

latest2.6 KB
Original Source

LookupEditorMode Enum

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

Namespace : DevExpress.Persistent.Base

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public enum LookupEditorMode
vb
Public Enum LookupEditorMode

Members

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.

|

The following properties accept/return LookupEditorMode values:

Remarks

These enumeration values are used to set the LookupEditorModeAttribute.Mode property.

For an example, see How to: Add a Search Action to Lookup Property Editors and Link Pop-up Windows.

See Also

DevExpress.Persistent.Base Namespace