Skip to main content

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.v25.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

string Target { get; set; }

Property Value

Type Default Description
String String.Empty

A predefined name of the target window (frame).

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 Target property is in effect when the document with the hyperlink is exported to web format (HTM, HTML)

The following table lists available target names:

Target Value Description
_blank Opens the link in a new window or tab.
_parent Opens the link in the same frame.
_self Opens the link in the parent frame.
_top Opens the link in the full body of the window.

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

See Also