Skip to main content
All docs
V24.2
.NET 8.0+
  • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxTreeListEditor Class

A List Editor you can use in XAF ASP.NET Core Blazor applications to display data as a tree-like structure.

Namespace: DevExpress.ExpressApp.Blazor.Editors

Assembly: DevExpress.ExpressApp.Blazor.v24.2.dll

NuGet Package: DevExpress.ExpressApp.Blazor

#Declaration

public class DxTreeListEditor :
    DxGridListEditorBase

#Remarks

List Views use List Editors to display object collections. DxTreeListEditor is a List Editor that displays data in the form of a tree. This editor is implemented in the TreeList Editors module.

XAF ASP.NET Core Blazor Tree List Editor, DevExpress

To display tree-like collections, the DxTreeListEditor uses an instance of the DxTreeList class. It supports the following features:

  • Client and Queryable mode. Queryable mode is available for flat data only.
  • Tree-like structure in the UI for ITreeNode objects
  • Tree-like structure for flat data objects with “Key - Parent Key” relationship
  • Data editing
  • Protected content placeholders for secured data rows
  • Loading child nodes on demand
  • Property editors as cell templates
  • Sorting and filtering
  • Summaries
  • Saving layout settings in the Application Model
  • Selection API
  • Context-dependent menu toolbar
  • Conditional appearance for cells
  • Column resizing
  • Column chooser

Note

DxTreeListEditor does not support the following features:

  • Server, ServerView, InstantFeedback, InstantFeedbackView, and DataView modes
  • Best fit column width
  • Node images for ITreeNode objects

DxTreeListEditor is available out of the box in XAF projects for objects that implement the ITreeNode interface. To enable it for flat data objects, specify the DevExpress.ExpressApp.Blazor.Editors.DxTreeListEditor list editor type in the IModelListView.EditorType model option.

For an example, refer to the Departments List View in the XAF ASP.NET Core Blazor demo.

See Also