Skip to main content

DxTabBase.TabIconCssClass Property

Specifies the tab icon’s CSS class.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v25.2.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Default Description
String null

A string that specifies the tab icon’s CSS class.

Remarks

Use the TabIconCssClass property to add an icon to a tab.

<DxTabs SizeMode="Params.SizeMode">
    <DxTab Text="Home" TabIconCssClass="tabs-icon-home tabs-icon"></DxTab>
    <DxTab Text="Products" TabIconCssClass="tabs-icon-products tabs-icon"></DxTab>
    <DxTab Text="Support" TabIconCssClass="tabs-icon-support tabs-icon"></DxTab>
</DxTabs>

Tabs Icons

Refer to Icons for additional information.

Run Demo: Tabs

Implements

See Also