Class Hyperlink
Provides an inline-level content element that provides facilities for hosting hyperlinks.
Inheritance
System.Object
Hyperlink
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Documents
Assembly: OpenSilver.dll
Syntax
public sealed class Hyperlink : Span
Constructors
| Improve this Doc View SourceHyperlink()
Initializes a new instance of the Hyperlink class.
Declaration
public Hyperlink()
Properties
| Improve this Doc View SourceNavigateUri
Gets or sets a URI to navigate to when the Hyperlink is activated. The default is null.
Declaration
public Uri NavigateUri { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |
TargetName
Declaration
[NotImplemented]
public string TargetName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceCreateDomElement(Object, out Object)
Declaration
public override object CreateDomElement(object parentRef, out object domElementWhereToPlaceChildren)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parentRef | |
System.Object | domElementWhereToPlaceChildren |
Returns
Type | Description |
---|---|
System.Object |
Overrides
Events
| Improve this Doc View SourceClick
Occurs when the left mouse button is clicked on a Hyperlink.
Declaration
public event RoutedEventHandler Click
Event Type
Type | Description |
---|---|
RoutedEventHandler |