Skip to main content
All docs
V25.1
  • .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.

    DxTreeListEditor.TreeListCommandActionColumnModels Property

    Stores DxTreeList command column models.

    Namespace: DevExpress.ExpressApp.Blazor.Editors

    Assembly: DevExpress.ExpressApp.Blazor.v25.1.dll

    NuGet Package: DevExpress.ExpressApp.Blazor

    Declaration

    public IList<DxTreeListCommandColumnModel> TreeListCommandActionColumnModels { get; }

    Property Value

    Type Description
    IList<DevExpress.ExpressApp.Blazor.Editors.Models.DxTreeListCommandColumnModel>

    A set of DxTreeList command column models.

    Remarks

    Use this property to customize the TreeListCommandActionColumnModels collection:

    using DevExpress.ExpressApp;
    using DevExpress.ExpressApp.Actions;
    using DevExpress.ExpressApp.Blazor.Components.Models;
    using DevExpress.ExpressApp.Blazor.Editors;
    using DevExpress.ExpressApp.Blazor.Editors.ActionControls;
    using DevExpress.ExpressApp.Blazor.Editors.Models;
    
    namespace MySolution.Blazor.Server.Controllers;
    
      public class ColumnsOrderController : ViewController<ListView> {
          protected override void OnViewControlsCreated() {
              base.OnViewControlsCreated();
    
              if(View.Editor is DxTreeListEditor treeListEditor) {
                // Specify the index of a column
                  treeListEditor.TreeListCommandActionColumnModels.FirstOrDefault(c => c.Name == "RecordEdit").VisibleIndex = 3;
              }
          }
      }
    
    See Also