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

Formatting.Borders Property

Provides access to cell borders.

Namespace: DevExpress.Spreadsheet

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


Borders Borders { get; }
ReadOnly Property Borders As Borders

Property Value

Type Description

A Borders object that provides access to the borders of a cell or cell range.


The Borders object properties and methods allow you to set each particular border of a cell or cell range individually (for example, top, bottom, left or right border), or set several borders at once (for example, all outside, diagonal, inside vertical or inside horizontal borders). For each border, you can select line style and color. For details, see the How to: Add and Remove Cell Borders example.


See Also