SharpCell

CellBorder

public sealed class CellBorder

Namespace SharpCell · package SharpCell

One edge of a cell's border. A record: borders compare by value.

Constructors

CellBorder(CellBorderStyle, CellColor?)

public CellBorder(CellBorderStyle Style, CellColor? Color = default)

One edge of a cell's border. A record: borders compare by value.

Parameters

Properties

Color

public CellColor? Color { get; init; }

The colour; null for automatic, which Excel shows black.

Style

public CellBorderStyle Style { get; init; }

The line.