The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

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.v19.2.dll

Declaration

public class TreeListEditor :
    ColumnsListEditor,
    IDXPopupMenuHolder,
    IComplexListEditor,
    IControlOrderProvider,
    IOrderProvider,
    ILookupListEditor,
    IFocusedElementCaptionProvider,
    INodeObjectAdapterProvider,
    ISupportFooter,
    IExportable,
    ISupportUpdate,
    IRequireContextMenu,
    IRequireDXMenuManager,
    ISupportBorderStyle,
    ISupportScriptRecorder
Public Class TreeListEditor
    Inherits ColumnsListEditor
    Implements IDXPopupMenuHolder,
               IComplexListEditor,
               IControlOrderProvider,
               IOrderProvider,
               ILookupListEditor,
               IFocusedElementCaptionProvider,
               INodeObjectAdapterProvider,
               ISupportFooter,
               IExportable,
               ISupportUpdate,
               IRequireContextMenu,
               IRequireDXMenuManager,
               ISupportBorderStyle,
               ISupportScriptRecorder
public class TreeListEditor :
    ColumnsListEditor,
    IDXPopupMenuHolder,
    IComplexListEditor,
    IControlOrderProvider,
    IOrderProvider,
    ILookupListEditor,
    IFocusedElementCaptionProvider,
    INodeObjectAdapterProvider,
    ISupportFooter,
    IExportable,
    ISupportUpdate,
    IRequireContextMenu,
    IRequireDXMenuManager,
    ISupportBorderStyle,
    ISupportScriptRecorder
Public Class TreeListEditor
    Inherits ColumnsListEditor
    Implements IDXPopupMenuHolder,
               IComplexListEditor,
               IControlOrderProvider,
               IOrderProvider,
               ILookupListEditor,
               IFocusedElementCaptionProvider,
               INodeObjectAdapterProvider,
               ISupportFooter,
               IExportable,
               ISupportUpdate,
               IRequireContextMenu,
               IRequireDXMenuManager,
               ISupportBorderStyle,
               ISupportScriptRecorder

Remarks

List Editors are used by List Views to display object collections in a UI. The TreeListEditor is implemented in the TreeList Editors module, and displays data in the form of a tree:

TreeListEditor2

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

The TreeListEditor supports a range of features out of the box:

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

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

Note

TreeListEditor does not support Server mode (CollectionSourceBase.DataAccessMode).

Inheritance

See Also