Windows apps
Collapse the table of content
Expand the table of content
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.



_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).


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.

Community Additions

© 2017 Microsoft