DxMenuItem.NavigateUrl Property

Specifies the navigation location for the menu item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

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

Property Value

Type Default Description
String

String.Empty

A URL where the client web browser navigates.

Remarks

The code below demonstrates how to specify the navigation location for a menu item.

<DxMenu>
    <Items>
        <DxMenuItem Text="Home" 
                    IconCssClass="oi oi-home" />
        <DxMenuItem Text="Documentation" 
                    IconUrl="images/Information.svg" 
                    NavigateUrl="https://docs.devexpress.com/Blazor/DevExpress.Blazor.DxMenu" />
    </Items>
</DxMenu>
See Also