Skip to main content

DxTreeViewNode.IconCssClass Property

Specifies the CSS class of the icon displayed by the node.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.1.dll

NuGet Package: DevExpress.Blazor


public string IconCssClass { get; set; }

Property Value

Type Default Description
String null

The name of a CSS class.


DevExpress Blazor components support pre-defined icon sets (such as Iconic or Bootstrap-recommended libraries) and custom icon libraries. Refer to the following topic for more information: Icons.

        <DxTreeViewNode Text="Home" IconCssClass="oi oi-home" />
        <DxTreeViewNode Text="Contacts" IconCssClass="oi oi-phone" />
        <DxTreeViewNode Text="Calendar" IconCssClass="oi oi-calendar"  />

Custom node icons

See Also