Class BorderOptions
- Namespace
- SheetStream.Styles
- Assembly
- SheetStream.dll
Border settings of a StyleOptions.
public sealed class BorderOptions
- Inheritance
-
BorderOptions
- Inherited Members
Properties
Bottom
Bottom edge line style.
public BorderStyle Bottom { get; set; }
Property Value
Color
Line colour for all edges as hex. null means Excel's automatic colour (black).
Validated on assignment.
public string? Color { get; set; }
Property Value
HasAnyLine
True when at least one edge has a visible line.
public bool HasAnyLine { get; }
Property Value
Left
Left edge line style.
public BorderStyle Left { get; set; }
Property Value
Right
Right edge line style.
public BorderStyle Right { get; set; }
Property Value
Style
Convenience setter that applies one line style to all four edges. Reading it returns the style of the left edge, so a mixed border reads back as whatever its left edge is.
public BorderStyle Style { get; set; }
Property Value
Top
Top edge line style.
public BorderStyle Top { get; set; }