Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Hyperlink.Range Property

Gets the cell range that contains the hyperlink.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

CellRange Range { get; }

#Property Value

Type Description
CellRange

A CellRange object.

#Remarks

Use the Range property to obtain the cell range to which the hyperlink is attached. When an end-user clicks any cell in this range, the hyperlink navigates to the address specified by the HyperlinkBase.Uri property. To add a hyperlink to a cell range, use the HyperlinkCollection.Add method and pass the required CellRange object as a parameter. The top left cell value of the range with the hyperlink is set to the Hyperlink.DisplayText property value.

You can associate a hyperlink not only with a cell range, but with a picture. To do this, use the Shape.InsertHyperlink method. Hyperlinks associated with pictures are represented by the ShapeHyperlink objects.

See Also