DxRibbonItem.NavigateUrl Property
Specifies the ribbon item’s target URL.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue("")]
[Parameter]
public string NavigateUrl { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| String | String.Empty | A URL to which the client web browser navigates. |
Remarks
Use the NavigateUrl property to specify a URL where the client web browser navigates in response to a click on the ribbon item. The browser opens this link in the same tab.
<DxRibbon>
<DxRibbonTab Text="Home">
<DxRibbonGroup>
<DxRibbonItem Text="Demos"
NavigateUrl="https://demos.devexpress.com/blazor/Ribbon" />
</DxRibbonGroup>
</DxRibbonTab>
</DxRibbon>
If you use the NavigateUrl property together with the Click event’s handler, the browser handles the event first and then navigates to the specified URL.
Implements
See Also