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

Borders.RemoveBorders() Method

In This Article

Removes all borders from a cell or cell range.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

void RemoveBorders()

#Remarks

To remove a particular border (e.g., top, bottom, left or right) or set of borders (e.g., diagonal, inside or outside) from a cell or cell range, set the Border.LineStyle property of the corresponding border to BorderLineStyle.None. Refer to the How to: Add and Remove Cell Borders example for details.

See Also