Back to Devexpress

DxButton.NavigateUrl Property

blazor-devexpress-dot-blazor-dot-dxbutton-d1bf5999.md

latest1.2 KB
Original Source

DxButton.NavigateUrl Property

Specifies the Button’s target URL.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
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.

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

DxButton Class

DxButton Members

DevExpress.Blazor Namespace