Skip to main content
All docs
V26.1
  • DxRibbonButtonBase<TClickEventArgs>.IconUrl Property

    Specifies the icon URL for the Ribbon item.

    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 item icon’s URL.

    Remarks

    The following code snippet assigns an icon to a Ribbon item using Icon Library APIs:

    Blazor Ribbon - Use the DevExpress Icon Library

    <DxRibbon>
        <DxRibbonTab Text="Home">
            <DxRibbonGroup Text="Insert">
                <DxRibbonItem Text="Component"
                              IconUrl="@Icon.CubeProductYellow" />
            </DxRibbonGroup>
        </DxRibbonTab>
    </DxRibbon>
    

    Refer to the Icons help topic for additional information about icons in DevExpress Blazor components.

    See Also