DxTreeListEditor.TreeListModel Property
In This Article
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
#Property Value
Type | Description |
---|---|
DevExpress. |
A |
#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