DxRibbonTab.IconUrl Property
Specifies the URL of the Ribbon tab’s icon.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v26.1.dll
Declaration
[DefaultValue(null)]
[Parameter]
public string IconUrl { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| String | null | The icon URL. |
Remarks
The following code snippet assigns an icon to a Ribbon tab using Icon Library APIs:
![]()
<DxRibbon>
<DxRibbonTab Text="Home"
IconUrl="@Icon.Home">
<DxRibbonGroup Text="Style">
<DxRibbonItem Text="Bold" IconUrl="@Icon.TextFontBold" />
<DxRibbonItem Text="Italic" IconUrl="@Icon.TextFontItalic" />
<DxRibbonItem Text="Underline" IconUrl="@Icon.TextFontUnderline" />
</DxRibbonGroup>
</DxRibbonTab>
<DxRibbonTab Text="Insert" />
</DxRibbon>
Note
This property overrides the icon assigned with IconCssClass.
Refer to the Icons help topic for additional information about icons in DevExpress Blazor components.
See Also