Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxTreeView.ExpandButtonIconCssClass Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(null)]
[Parameter]
public string ExpandButtonIconCssClass { 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.

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

TreeView Expand Button

Refer to Icons for more information.

See Also