Skip to main content

TreeListEditor Class

Represents a Windows Forms List Editor that displays data in the form of a tree-like structure.

Namespace: DevExpress.ExpressApp.TreeListEditors.Win

Assembly: DevExpress.ExpressApp.TreeListEditors.Win.v25.2.dll

NuGet Package: DevExpress.ExpressApp.TreeListEditors.Win

Declaration

public class TreeListEditor :
    ColumnsListEditor,
    IDXPopupMenuHolder,
    IComplexListEditor,
    IControlOrderProvider,
    IOrderProvider,
    ILookupListEditor,
    IFocusedElementCaptionProvider,
    INodeObjectAdapterProvider,
    ISupportFooter,
    IExportable,
    ISupportUpdate,
    IRequireContextMenu,
    IRequireDXMenuManager,
    ISupportBorderStyle,
    ISupportFilterEditor

Remarks

List Views use List Editors to display object collections in a UI. TreeListEditor ships with the TreeList Editors module, and displays data in the form of a tree:

XAF Windows Forms Tree List Editor, DevExpress

To display object collections, TreeListEditor uses an instance of the ObjectTreeList as the underlying control. ObjectTreeList is a descendant of the TreeList class.

TreeListEditor supports a range of features out of the box:

Since it is not possible to display an arbitrary object collection in the form of a tree, the objects that TreeListEditor displays must implement the ITreeNode interface. To learn how to implement this interface, refer to the following topic: Display a Tree List using the ITreeNode Interface.

For additional information on TreeListEditor and an overview of the TreeList Editors module, refer to the following topic: TreeList Editors Module Overview.

Note

TreeListEditor supports only Client mode (CollectionSourceBase.DataAccessMode).

Inheritance

See Also