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

Formatting.Borders Property

Provides access to cell borders.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

Borders Borders { get; }

#Property Value

Type Description
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.

Spreadsheet_CellBorders

See Also