Skip to main content

DxTreeView.CollapseButtonIconCssClass Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public string CollapseButtonIconCssClass { get; set; }

Property Value

Type Default Description
String null

A CSS class name.

Remarks

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

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

TreeView Collapse Button

Refer to Icons for more information.

See Also