Intersoft ClientUI Documentation
NavigateUri Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > Hyperlink Class : NavigateUri Property






Gets or sets a URI to navigate to when the Hyperlink is activated.

Syntax

Visual Basic (Declaration) 
Public Property NavigateUri As Uri
Visual Basic (Usage)Copy Code
Dim instance As Hyperlink
Dim value As Uri
 
instance.NavigateUri = value
 
value = instance.NavigateUri
C# 
public Uri NavigateUri {get; set;}
Delphi 
public read-write property NavigateUri: Uri; 
JScript 
public function get,set NavigateUri : Uri
Managed Extensions for C++ 
public: __property Uri* get_NavigateUri();
public: __property void set_NavigateUri( 
   Uri* value
);
C++/CLI 
public:
property Uri^ NavigateUri {
   Uri^ get();
   void set (    Uri^ value);
}

Remarks

Hyperlink element provides facilities for hosting hyperlinks within FlowDocument content. You can specify NavigateUri property to the Uri of the hyperlink where user will be navigated to when the Hyperlink is clicked. Hyperlink navigation can only occur, however, if either the direct or indirect parent of a Hyperlink is a navigation host, including NavigationWindow, Frame, or any browser that can host XBAPs (which includes Internet Explorer 7, Microsoft Internet Explorer 6, and Firefox 2.0+).

Hyperlink is used in a similar manner to the <A> tag in HTML. Similar to HTML link, you can specify the target name where the link should be opened. You can specify _blank, _self, or the name of the navigation host as the target name.

XAML Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph>
        <Intersoft:Hyperlink NavigateUri="http://www.intersoftpt.com" TargetName="_self">
            <Intersoft:Run>
                Click the following link
            </Intersoft:Run>
        </Intersoft:Hyperlink>
    </Intersoft:Paragraph>
</Intersoft:FlowDocument>

You can specify several formatting that will be applied when the hyperlink is hovered and pressed. For more information, see Configuring Hyperlink Formatting.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.