Enum BorderType

BorderType enumeration

Enumerates the border line and diagonal line types.

[Flags]
public enum BorderType

Values

NameValueDescription
BottomBorder8Represents bottom border line.
DiagonalDown10Represents the diagonal line from top left to right bottom.
DiagonalUp20Represents the diagonal line from bottom left to right top.
LeftBorder1Represents left border line.
RightBorder2Represents right border line exists.
TopBorder4Represents top border line.
Horizontal80Only for dynamic style,such as conditional formatting.
Vertical40Only for dynamic style,such as conditional formatting.

See Also