[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Namespace:
System.Windows.Controls
Assembly:
System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
<TypeConverterAttribute(GetType(UriTypeConverter))> _
Public Property NavigateUri As Uri
Get
Set
Dim instance As HyperlinkButton
Dim value As Uri
value = instance.NavigateUri
instance.NavigateUri = value
[TypeConverterAttribute(typeof(UriTypeConverter))]
public Uri NavigateUri { get; set; }
<object NavigateUri="uriString"/>
Dependency property identifier field: NavigateUriProperty
The specified URI must be an absolute URI or an application-relative URI.
When you use a relative URI, the Silverlight-based application must discover its application root at run time, and the application root can vary between development and production environments. The application root is required for the application to build an absolute URI from a relative URI. For more information about relative and absolute URIs, see Uri.
Note: |
|---|
If EnableNavigationon the Silverlight object is set to none, the user can only navigate to a relative URI in the current application. Attempts to navigate to an external URL will cause a SecurityException. |
The following code example demonstrates a HyperlinkButton.
<HyperlinkButton Content="Click here to learn about Silverlight"
NavigateUri="http://www.silverlight.net" TargetName="_blank" Margin="10,60,0,0"/>
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference
Other Resources