Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Hyperlink Constructor (Inline, TextPointer)


Initializes a new instance of the Hyperlink class, taking a specified Inline object as the initial contents of the new Hyperlink, and a TextPointer specifying an insertion position for the new Hyperlink.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public Hyperlink(
	Inline childInline,
	TextPointer insertionPosition


Type: System.Windows.Documents.Inline

An Inline object specifying the initial contents of the new Hyperlink. This parameter may be null, in which case no Inline is inserted.

Type: System.Windows.Documents.TextPointer

A TextPointer specifying an insertion position at which to insert the Hyperlink element after it is created, or null for no automatic insertion.

The following example demonstrates usage of this constructor.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft