DxMenuItem.NavigateUrl Property
Specifies the navigation location for the menu item.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
[DefaultValue("")]
[Parameter]
public string NavigateUrl { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A URL where the client web browser navigates. |
#Remarks
The following code snippet specifies 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>