DxTreeViewNode.IconCssClass Property
Specifies the CSS class of the icon displayed by the node.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public string IconCssClass { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | null | The name of a CSS class. |
Remarks
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.
<DxTreeView>
<Nodes>
<DxTreeViewNode Text="Home" IconCssClass="oi oi-home" />
<DxTreeViewNode Text="Contacts" IconCssClass="oi oi-phone" />
<DxTreeViewNode Text="Calendar" IconCssClass="oi oi-calendar" />
</Nodes>
</DxTreeView>
See Also