Skip to main content

XlBorder Properties

Provides access to the line characteristics of a cell border.
Name Description
BottomColor Gets or sets the line color of the cell’s bottom border.
BottomLineStyle Gets or sets the line style of the cell’s bottom border. Inherited from XlBordersBase.
DiagonalColor Gets or sets the line color of the cell’s diagonal borders.
DiagonalDown Gets or sets a value indicating whether the downward diagonal border should be displayed in a cell. Inherited from XlBordersBase.
DiagonalDownLineStyle Gets or sets the line style of the cell’s downward diagonal border. Inherited from XlBordersBase.
DiagonalLineStyle Gets or sets the line style of the cell’s diagonal borders. Inherited from XlBordersBase.
DiagonalUp Gets or sets a value indicating whether the upward diagonal border should be displayed in a cell. Inherited from XlBordersBase.
DiagonalUpLineStyle Gets or sets the line style of the cell’s upward diagonal border. Inherited from XlBordersBase.
HorizontalColor

This member supports the internal infrastructure and is not intended to be used directly from your code.

Gets or sets the line color of the horizontal inner borders of a cell range.

HorizontalLineStyle

This member supports the internal infrastructure and is not intended to be used directly from your code.

Gets or sets the line style for the horizontal inner borders of a cell range.

Inherited from XlBordersBase.
LeftColor Gets or sets the line color of the cell’s left border.
LeftLineStyle Gets or sets the line style of the cell’s left border. Inherited from XlBordersBase.
Outline

This member supports the internal infrastructure and is not intended to be used directly from your code.

Gets or sets a value indicating whether the left, right, top and bottom borders should be applied only to the outside borders of a cell range.

Inherited from XlBordersBase.
RightColor Gets or sets the line color of the cell’s right border.
RightLineStyle Gets or sets the line style of the cell’s right border. Inherited from XlBordersBase.
TopColor Gets or sets the line color of the cell’s top border.
TopLineStyle Gets or sets the line style of the cell’s top border. Inherited from XlBordersBase.
VerticalColor

This member supports the internal infrastructure and is not intended to be used directly from your code.

Gets or sets the line color of the vertical inner borders of a cell range.

VerticalLineStyle

This member supports the internal infrastructure and is not intended to be used directly from your code.

Gets or sets the line style for the vertical inner borders of a cell range.

Inherited from XlBordersBase.
See Also