ClassRadHyperlinkButton
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.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Buttons")]
public class RadHyperlinkButton : RadButton
Inheritance: objectRadButtonRadHyperlinkButton
Inherited Members
Constructors
RadHyperlinkButton()
Declaration
public RadHyperlinkButton()
Fields
IsVisitedProperty
Identifies the IsVisited property.
Declaration
public static readonly DependencyProperty IsVisitedProperty
Field Value
DependencyProperty
NavigateUriProperty
Identifies the NavigateUri property.
Declaration
public static readonly DependencyProperty NavigateUriProperty
Field Value
DependencyProperty
TargetNameProperty
Identifies the TargetName property.
Declaration
public static readonly DependencyProperty TargetNameProperty
Field Value
DependencyProperty
VisitedForegroundProperty
Identifies the VisitedForeground property.
Declaration
public static readonly DependencyProperty VisitedForegroundProperty
Field Value
DependencyProperty
Properties
IsVisited
Gets or sets a value that indicates whether the hyperlink has been clicked.
NavigateUri
Gets or sets the URI to navigate to when the HyperlinkButton is clicked.
Declaration
public Uri NavigateUri { get; set; }
Property Value
Uri
TargetName
Gets or sets the name of the target window or frame that the Web page should open in.
VisitedForeground
Gets or sets the foreground of the hyperlink after it has been clicked.
Declaration
public Brush VisitedForeground { get; set; }
Property Value
Brush
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Creates a RadButtonAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides