DxMenuItem.IconUrl Property

Specifies a menu item icon's URL.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

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

Property Value

Type Default Description
String

String.Empty

A menu item icon's URL.

Remarks

The code below demonstrates how to specify an icon's URL for the menu item.

<DxMenu>
    <Items>
        <DxMenuItem Text="Home" IconCssClass="oi oi-home" />
        <DxMenuItem Text="DevExpress" IconUrl="https://community.devexpress.com/Content/TopBar/Logo.svg"/>
    </Items>
</DxMenu>
See Also