DxTreeListEditor.TreeListModel Property
Exposes members of the underlying DxTreeList class.
Namespace: DevExpress.ExpressApp.Blazor.Editors
Assembly: DevExpress.ExpressApp.Blazor.v25.1.dll
NuGet Package: DevExpress.ExpressApp.Blazor
Declaration
Property Value
Type | Description |
---|---|
DevExpress.ExpressApp.Blazor.Editors.Models.DxTreeListModel | 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:
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