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.TreeListModel Property

Exposes members of the underlying DxTreeList class.

Namespace: DevExpress.ExpressApp.Blazor.Editors

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

NuGet Package: DevExpress.ExpressApp.Blazor

#Declaration

public DxTreeListModel TreeListModel { get; }

#Property Value

Type Description
DevExpress.ExpressApp.Blazor.Editors.Models.DxTreeListModel

A DevExpress.ExpressApp.Blazor.Editors.Models.DxTreeListModel object that you can use to access DxTreeList settings.

#Remarks

Use the DxTreeListEditor.TreeListModel property to access the Tree List component properties.

The following code snippet demonstrates a controller in an XAF ASP.NET Core Blazor project that changes the ColumnResizeMode property value:

C#
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Blazor.Editors;

namespace YourSolutionName.Blazor.Server.Controllers;
public class ColumnResizeModeViewController : ViewController<ListView> {
    protected override void OnViewControlsCreated() {
        base.OnViewControlsCreated();
        if (View.Editor is DxTreeListEditor treeListEditor) {
            treeListEditor.TreeListModel.ColumnResizeMode =
                DevExpress.Blazor.TreeListColumnResizeMode.ColumnsContainer;
        }
    }
}
See Also