Skip to main content

DxTreeView.CollapseButtonIconCssClass Property

Specify a CSS class for the collapse button’s icon.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public string CollapseButtonIconCssClass { get; set; }

Property Value

Type Default Description
String null

A CSS class name.


Use the ExpandButtonIconCssClass and CollapseButtonIconCssClass properties to specify CSS classes for expand and collapse buttons.

<DxTreeView CollapseButtonIconCssClass="oi oi-minus" ExpandButtonIconCssClass="oi oi-plus">
    @* ... *@

TreeView Collapse Button

Refer to Icons for more information.

See Also