Back to Devexpress

Hyperlink.Target Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-hyperlink-6dc93e6b.md

latest2.0 KB
Original Source

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

csharp
string Target { get; set; }
vb
Property Target As String

Property Value

TypeDefaultDescription
StringString.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 ValueDescription
_blankOpens the link in a new window or tab.
_parentOpens the link in the same frame.
_selfOpens the link in the parent frame.
_topOpens the link in the full body of the window.

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

See Also

NavigateUri

Hyperlink Interface

Hyperlink Members

DevExpress.XtraRichEdit.API.Native Namespace