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

Borders Members

In This Article
Provides access to cell borders.

#Properties

Name Description
BottomBorder Provides access to an object that specifies the bottom border of a cell or cell range.
DiagonalBorderColor Gets or sets the line color of the cell diagonal border.
DiagonalBorderLineStyle Gets or sets the line style of the cell diagonal border.
DiagonalBorderType Gets or sets the type of the cell diagonal border.
InsideHorizontalBorders Provides access to an object that specifies all horizontal borders inside a cell range.
InsideVerticalBorders Provides access to an object that specifies all vertical borders inside a cell range.
LeftBorder Provides access to an object that specifies the left border of a cell or cell range.
RightBorder Provides access to an object that specifies the right border of a cell or cell range.
TopBorder Provides access to an object that specifies the top border of a cell or cell range.

#Methods

Name Description
RemoveBorders() Removes all borders from a cell or cell range.
SetAllBorders(Color, BorderLineStyle) Sets all borders of a cell or range of cells.
SetDiagonalBorders(Color, BorderLineStyle, DiagonalBorderType) Sets cell diagonal borders.
SetOutsideBorders(Color, BorderLineStyle) Sets outside borders for a cell or range of cells.
See Also