HyperlinkCollection.Clear() Method
In This Article
Removes all hyperlinks from the collection.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Remarks
After hyperlinks are removed, their descriptive text (Hyperlink.DisplayText) is left in the cells and the formatting of these cells is cleared.
To delete an individual hyperlink from the collection, use the HyperlinkCollection.Remove or HyperlinkCollection.RemoveAt 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