Back to Devexpress

Formatting.Borders Property

officefileapi-devexpress-dot-spreadsheet-dot-formatting-711f6e58.md

latest1.8 KB
Original Source

Formatting.Borders Property

Provides access to cell borders.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
Borders Borders { get; }
vb
ReadOnly Property Borders As Borders

Property Value

TypeDescription
Borders

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

|

Remarks

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

How to: Clear Cell Formatting

Formatting Interface

Formatting Members

DevExpress.Spreadsheet Namespace