The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

HyperlinkCollection.Remove(Hyperlink) Method

Removes the specified hyperlink from the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Remove(
    Hyperlink hyperlink
)
Sub Remove(
    hyperlink As Hyperlink
)
void Remove(
    Hyperlink hyperlink
)
Sub Remove(
    hyperlink As Hyperlink
)
void Remove(
    Hyperlink hyperlink
)
Sub Remove(
    hyperlink As Hyperlink
)

Parameters

Name Type Description
hyperlink Hyperlink

A Hyperlink object to be removed from the collection.

Parameters

Name Type Description
hyperlink Hyperlink

A Hyperlink object to be removed from the collection.

Parameters

Name Type Description
hyperlink Hyperlink

A Hyperlink object to be removed from the collection.

Remarks

After a hyperlink is removed, its descriptive text (Hyperlink.DisplayText) is left in a cell and the formatting of this cell is cleared.

SpreadsheetControl_HyperlinkCollection_Remove

To remove a hyperlink by its index in the collection, use the HyperlinkCollection.RemoveAt method. To remove all hyperlinks from the collection, use the HyperlinkCollection.Clear method. To delete hyperlinks from the specified range of cells, use the Worksheet.ClearHyperlinks method.

To add a hyperlink into a cell or cell range, use the HyperlinkCollection.Add method (see the How to: Add a Hyperlink to a Cell example).

See Also