Skip to main content

DxButton.NavigateUrl Property

Specifies the button’s target URL.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string NavigateUrl { get; set; }

Property Value

Type Description
String

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 button. The browser opens this link in the same tab.

<DxButton NavigateUrl="https://demos.devexpress.com/blazor/Button">Demos</DxButton>

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.

See Also