.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Borders.RemoveBorders() Method

Removes all borders from a cell or cell range.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll


void RemoveBorders()


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