Skip to main content

NavigateUri Property

Gets or sets the Uniform Resource Identifier (URI) automatically navigated to when the HyperlinkButton is clicked.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public Uri? NavigateUri { get; set; }

Property Value

Uri

Remarks

The URI may be any website or file location that can be launched using the ILauncher service.

If a URI should not be automatically launched, leave this property unset and use the Click and IsVisited members directly.

See Also

Reference

HyperlinkButton Class
Avalonia.Controls Namespace