Back to Devexpress

Borders.RemoveBorders() Method

officefileapi-devexpress-dot-spreadsheet-dot-borders-d49de566.md

latest1.5 KB
Original Source

Borders.RemoveBorders() Method

Removes all borders from a cell or cell range.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void RemoveBorders()
vb
Sub 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

How to: Add and Remove Cell Borders

Borders Interface

Borders Members

DevExpress.Spreadsheet Namespace