Skip to main content

DxMenuItem.IconUrl Property

Specifies a menu item icon’s URL.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Default Description
String null

A menu item icon’s URL.

Remarks

The following code snippet specifies an icon’s URL for the menu item.

<DxMenu>
    <Items>
        <DxMenuItem Text="Home" IconCssClass="oi oi-home" />
        <DxMenuItem Text="DevExpress" IconUrl="images/TopBar/Logo.svg" />
    </Items>
</DxMenu>
See Also