Skip to main content
A newer version of this page is available. .

DxMenuItem.NavigateUrl Property

Specifies the navigation location for the menu item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue("")]
[Parameter]
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