Back to Devexpress

DxRibbonItem.NavigateUrl Property

blazor-devexpress-dot-blazor-dot-dxribbonitem-d0d3f33f.md

latest1.6 KB
Original Source

DxRibbonItem.NavigateUrl Property

Specifies the ribbon item’s target URL.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
StringString.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.

razor
<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

NavigateUrl

See Also

DxRibbonItem Class

DxRibbonItem Members

DevExpress.Blazor Namespace