RichTextBox for WinRT
MakeHyperlink Method


A C1.Xaml.RichTextBox.Documents.C1TextRange to make into a hyperlink.
A System.Uri for the hyperlink.
A TargetName for the hyperlink
Makes a text range into a hyperlink.
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Sub MakeHyperlink( _
   ByVal range As C1TextRange, _
   ByVal uri As System.Uri, _
   Optional ByVal targetName As System.String _
) 
'Usage
 
Dim range As C1TextRange
Dim uri As System.Uri
Dim targetName As System.String
 
EditExtensions.MakeHyperlink(range, uri, targetName)
[System.Runtime.CompilerServices.Extension()]
public static void MakeHyperlink( 
   C1TextRange range,
   System.Uri uri,
   System.string targetName
)

Parameters

range
A C1.Xaml.RichTextBox.Documents.C1TextRange to make into a hyperlink.
uri
A System.Uri for the hyperlink.
targetName
A TargetName for the hyperlink
Remarks
If the range spans several blocks this method generates a C1.Xaml.RichTextBox.Documents.C1Hyperlink element per block.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EditExtensions Class
EditExtensions Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback