Hyperlink.DisplayText Property | Office File API | DevExpress Documentation Skip to main content
Row

Hyperlink.DisplayText Property

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

Namespace: DevExpress.Spreadsheet

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

Declaration

string DisplayText { get; set; }

Property Value

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
Use of this site constitutes acceptance of our Website Terms of Use and Privacy Policy (Updated). Cookies Settings