DxTreeViewNode.IconCssClass Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll


public string IconCssClass { get; set; }

Property Value

Type Description

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 Icons for more information.

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