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

Hyperlink.DisplayText Property

Gets or sets the text displayed for a hyperlink in a cell.

Namespace: DevExpress.Spreadsheet

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

Declaration

string DisplayText { get; set; }

Property Value

Type Description
String

A String value that specifies the text to be displayed for a hyperlink.

Remarks

The DisplayText property specifies the top left cell value of the range into which a hyperlink is added (Hyperlink.Range). You can set this text when adding a hyperlink to a cell range via the HyperlinkCollection.Add method (see the How to: Add a Hyperlink to a Cell example). By default, the hyperlink text is the HyperlinkBase.Uri property value.

After you remove a hyperlink object, its text remains in a cell. See the How to: Clear Cells of Content, Formatting, Hyperlinks and Comments example.

To specify the text for a hyperlink tooltip, use the HyperlinkBase.TooltipText property.

See Also