Skip to main content
All docs
V25.2
  • DxRibbonTab.IconUrl Property

    Specifies the URL of the Ribbon tab’s icon.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.2.dll

    NuGet Package: DevExpress.Blazor

    Declaration

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

    Property Value

    Type Default Description
    String null

    The icon URL.

    Remarks

    Use the IconUrl property to set a custom icon for a Ribbon tab.

    <DxRibbon>
        <DxRibbonTab Text="Home"
                     IconUrl="images/icon.svg">
            <DxRibbonGroup Text="Style">
                <DxRibbonItem Text="Bold" IconCssClass="dx-icon-bold" />
                <DxRibbonItem Text="Italic" IconCssClass="dx-icon-italic" />
                <DxRibbonItem Text="Underline" IconCssClass="dx-icon-underline" />
            </DxRibbonGroup>
        </DxRibbonTab>
        <DxRibbonTab Text="Insert" />
    </DxRibbon>
    

    Ribbon Tab's Custom Icon

    Note

    This property overrides the icon assigned with IconCssClass.

    See Also