Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Hyperlink.Target Property

Gets or sets the target window or frame in which to display the web page content when the hyperlink is clicked.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

string Target { get; set; }

Property Value

Type Description
String

A string, representing a predefined name of the target window (frame). By default it is an empty string.

Remarks

Use the Target property to specify the frame or window that displays the web page when the hyperlink is clicked. The web page is specified via the Hyperlink.NavigateUri property.

The following table lists used target names:

Target Value Meaning
_blank Renders the content in a new window without frames.
_parent Renders the content in the frameset parent.
_self Renders the content in the focused frame.
_top Renders the content in the full window without frames.

An empty string means that the target is determined by browser options.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Target property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also