Information
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.TargetName Property

Gets or sets the name of a target window or frame for the Hyperlink.

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

public string TargetName { get; set; }
<Hyperlink TargetName="string"/>

Property Value

Type: System.String
A string that specifies the name of a target window or frame for the Hyperlink.

Dependency property identifier field: TargetNameProperty

The following table lists some target names and describes the results when they are used for a Hyperlink.TargetName value.

Target

Description

_blank, _media, or _search

Loads the linked document into a new blank window.

_parent, _self, _top, or ""

Loads the page into the window in which the link was clicked (the active window).

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft