Skip to main content
A newer version of this page is available. .
Row

Hyperlink.Range Property

Gets the cell range that contains the hyperlink.

Namespace: DevExpress.Spreadsheet

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

Declaration

Range Range { get; }

Property Value

Type Description
Range

A Range 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 Range 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