Makes a text range into a hyperlink.

Namespace:  C1.Phone.RichTextBox
Assembly:  C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)

Syntax

C#
public static void MakeHyperlink(
	this C1TextRange range,
	Uri uri
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub MakeHyperlink ( _
	range As C1TextRange, _
	uri As Uri _
)

Parameters

range
Type: C1.Phone.RichTextBox.Documents..::..C1TextRange
A C1TextRange to make into a hyperlink.
uri
Type: System..::..Uri
A Uri for the hyperlink.

Remarks

If the range spans several blocks this method generates a C1Hyperlink element per block.

See Also