Back to Devexpress

Borders Members

officefileapi-devexpress-dot-spreadsheet-dot-borders-dot-underscore-members.md

latest2.6 KB
Original Source

Borders Members

Provides access to cell borders.

Properties

NameDescription
BottomBorderProvides access to an object that specifies the bottom border of a cell or cell range.
DiagonalBorderColorGets or sets the line color of the cell diagonal border.
DiagonalBorderLineStyleGets or sets the line style of the cell diagonal border.
DiagonalBorderTypeGets or sets the type of the cell diagonal border.
InsideHorizontalBordersProvides access to an object that specifies all horizontal borders inside a cell range.
InsideVerticalBordersProvides access to an object that specifies all vertical borders inside a cell range.
LeftBorderProvides access to an object that specifies the left border of a cell or cell range.
RightBorderProvides access to an object that specifies the right border of a cell or cell range.
TopBorderProvides access to an object that specifies the top border of a cell or cell range.

Methods

NameDescription
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

Borders Interface

DevExpress.Spreadsheet Namespace