LookupEditorModeAttribute Class

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 class LookupEditorModeAttribute :
    ModelExportedValuesAttribute,
    _Attribute
Public Class LookupEditorModeAttribute
    Inherits ModelExportedValuesAttribute
    Implements _Attribute

By default, an Object type business class property is displayed via a Lookup Property Editor. The drop-down frame of this Property Editor contains a List View that displays all existing objects of the specified type. In addition, this frame can contain a Search function, so that end-users can easily find a particular object in that List View. Apply the LookupEditorMode attribute to a property, to specify whether the Lookup Editor should contain the Search function. See the attribute's LookupEditorModeAttribute.Mode property description to learn about the available values you can pass as the mode parameter.

The value of the LookupEditorMode atribute's mode parameter is set for the IModelCommonMemberViewItem.LookupEditorMode property of the Application Model's BOModel | <Class> | OwnMembers | <Member> node. You can set the required value for this property directly in the Application Model via the Model Editor.

Inheritance

Object
Attribute
DevExpress.Persistent.Base.ModelExportedValuesAttribute
LookupEditorModeAttribute
See Also