Skip to main content

TreeListLookUpEdit Class

The data-aware editor that implements lookup functionality using a dropdown TreeList control. This editor cannot operate if no data source is connected to it.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public class TreeListLookUpEdit :
    LookUpEditBase

The following members return TreeListLookUpEdit objects:

Remarks

A lookup editor is an editor with an embedded dropdown window that displays lookup records (the records from which an end user can select). When a lookup record is selected, the editor’s value (the BaseEdit.EditValue bindable property) and display text are modified accordingly.

The TreeListLookUpEdit displays lookup records in the dropdown using the feature-rich TreeList control.

Important

The TreeList control embedded in the TreeListLookUpEdit does not support unbound mode.

XtraEditors - TreeListLookUpEdit

To learn how to set up lookup editors in different binding modes, see the following topics:

You may want to filter the popup data source of one (secondary) lookup editor based on a value of another (primary) lookup editor. This scenario is described in the following topic:

Additional Customization

The following list shows some of the members that help you additionally customize the TreeListLookUpEdit control.

To embed a TreeListLookUpEdit in a cell within a container control (XtraGrid, XtraTreeList, etc.), use the RepositoryItemTreeListLookUpEdit component. See the Editors and Simple Controls topic for more information.

See Also