New to Telerik UI for WPFStart a free 30-day trial

Represents a RadButton that functions as a hyperlink button, allowing users to navigate to a specified URI when clicked. The RadHyperlinkButton class provides several dependency properties:

  • NavigateUri: The URI to navigate to upon button click.
  • TargetName: The name of the target window or frame in which the URI should be opened.
  • IsVisited: Indicates whether the hyperlink has been clicked at least once.
  • VisitedForeground: Defines the foreground color of the hyperlink after it has been visited.

When the hyperlink button is clicked, it attempts to open the specified URI in the default web browser. The control also supports custom styling and automation peer creation for accessibility.

Definition

Constructors

C#
public RadHyperlinkButton()

Fields

IsVisitedProperty

DependencyProperty

Identifies the IsVisited property.

C#
public static readonly DependencyProperty IsVisitedProperty

NavigateUriProperty

DependencyProperty

Identifies the NavigateUri property.

C#
public static readonly DependencyProperty NavigateUriProperty

TargetNameProperty

DependencyProperty

Identifies the TargetName property.

C#
public static readonly DependencyProperty TargetNameProperty

VisitedForegroundProperty

DependencyProperty

Identifies the VisitedForeground property.

C#
public static readonly DependencyProperty VisitedForegroundProperty

Properties

Gets or sets a value that indicates whether the hyperlink has been clicked.

C#
public bool IsVisited { get; set; }

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

C#
public Uri NavigateUri { get; set; }

Gets or sets the name of the target window or frame that the Web page should open in.

C#
public string TargetName { get; set; }

Gets or sets the foreground of the hyperlink after it has been clicked.

C#
public Brush VisitedForeground { get; set; }

Methods

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

C#
public override void OnApplyTemplate()

Overrides: RadButton.OnApplyTemplate()

Creates a RadButtonAutomationPeer.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Overrides: RadButton.OnCreateAutomationPeer()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: RadButton.OnInitialized(EventArgs)