DxRibbonButtonBase<TClickEventArgs>.IconCssClass Property
Specifies the name of the CSS class applied to the Ribbon item’s icon.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.2.dll
Declaration
[DefaultValue(null)]
[Parameter]
public string IconCssClass { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| String | null | The CSS class name. |
Remarks
Use the IconCssClass property to customize the item’s icon CSS styles or display a custom icon.
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.
<DxRibbon>
<DxRibbonTab Text="Home">
<DxRibbonGroup Text="Style">
<DxRibbonItem Text="Bold"
IconCssClass="dx-icon-bold" />
</DxRibbonGroup>
</DxRibbonTab>
</DxRibbon>
![]()
See Also