Table of Contents

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

BorderStyle

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

string

HasAnyLine

True when at least one edge has a visible line.

public bool HasAnyLine { get; }

Property Value

bool

Left

Left edge line style.

public BorderStyle Left { get; set; }

Property Value

BorderStyle

Right

Right edge line style.

public BorderStyle Right { get; set; }

Property Value

BorderStyle

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

BorderStyle

Top

Top edge line style.

public BorderStyle Top { get; set; }

Property Value

BorderStyle