blazor-devexpress-dot-blazor-dot-dxribbonapplicationtab-2483bf16.md
Specifies the CSS class of an icon displayed in the application tab.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(null)]
[Parameter]
public string IconCssClass { get; set; }
| Type | Default | Description |
|---|---|---|
| String | null |
The CSS class name.
|
Use the IconCssClass or IconUrl property to specify settings of the icon displayed in the application tab.
<DxRibbon>
<DxRibbonApplicationTab IconCssClass="rb-icon-home rb-icon" />
<DxRibbonTab Text="Tab 1" />
<DxRibbonTab Text="Tab 2" />
<DxRibbonTab Text="Tab 3"/>
</DxRibbon>
.rb-icon {
width: 1.25rem;
height: 1.25rem;
background-size: contain;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
background-position: center center;
background-color: currentColor;
}
.rb-icon-home {
-webkit-mask-image: url("../images/icons/ribbon/home.svg");
mask-image: url("../images/icons/ribbon/home.svg");
}
See Also