Skip to main content

HyperlinkButton

C# API / Fluence.Wpf.Controls

  • Assembly: Fluence.Wpf
  • Namespace: Fluence.Wpf.Controls
public class HyperlinkButton : Button

A hyperlink-styled button that can optionally navigate to a URI.

Remarks: Inspired by WInUI's HyperlinkButton.

Base type: Button (including inherited WPF and .NET members)

C# source

Constructors​

HyperlinkButton​

public HyperlinkButton()

Initializes a new instance of the HyperlinkButton class.

Properties​

CornerRadius​

public CornerRadius CornerRadius { get; set; }

Gets or sets the corner radius of the button.

Icon​

public object Icon { get; set; }

Gets or sets the icon displayed in the button.

IconPlacement​

public ElementPlacement IconPlacement { get; set; }

Gets or sets the placement of the icon relative to the content.

public Uri NavigateUri { get; set; }

Gets or sets the URI to navigate to when the button is clicked.

Methods​

OnClick​

protected override void OnClick()

Documentation inherited from the Button API.

OnCreateAutomationPeer​

protected override AutomationPeer OnCreateAutomationPeer()

Documentation inherited from the Button API.

Dependency property identifiers​

Use these identifiers with WPF property APIs. The matching CLR properties appear above when the control exposes them.

CornerRadiusProperty​

public static readonly DependencyProperty CornerRadiusProperty

Identifies the CornerRadius dependency property.

IconPlacementProperty​

public static readonly DependencyProperty IconPlacementProperty

Identifies the IconPlacement dependency property.

IconProperty​

public static readonly DependencyProperty IconProperty

Identifies the Icon dependency property.

public static readonly DependencyProperty NavigateUriProperty

Identifies the NavigateUri dependency property.