SharpCell.Grid

GridTheme

public sealed class GridTheme

Namespace SharpCell.Grid · package SharpCell.Grid

The colours of a grid.

Constructors

GridTheme()

public GridTheme()

Colours close to Excel's light theme, as GridTheme.Excel; set properties in an initializer to change some.

Properties

ActiveCellBorder

public GridColor ActiveCellBorder { get; init; }

The border around the active cell and the selection, and the line under the headers of selected cells.

ActiveHeaderBackground

public GridColor ActiveHeaderBackground { get; init; }

Behind the headers of the rows and columns of the selected cells.

Background

public GridColor Background { get; init; }

Behind the cells.

CellText

public GridColor CellText { get; init; }

Text of cells.

Excel

public static GridTheme Excel { get; }

Colours close to Excel's light theme.

FillOutline

public GridColor FillOutline { get; init; }

The dashed border around the cells a fill handle is dragged over.

FrozenLine

public GridColor FrozenLine { get; init; }

The line where panes are frozen.

Gridline

public GridColor Gridline { get; init; }

The lines between cells.

HeaderBackground

public GridColor HeaderBackground { get; init; }

Behind the row and column headers.

HeaderLine

public GridColor HeaderLine { get; init; }

The lines between headers and around them.

HeaderText

public GridColor HeaderText { get; init; }

Header text: column letters and row numbers.

ReferenceBorder

public GridColor ReferenceBorder { get; init; }

The dashed border around the cells picked with the mouse while a formula is typed.

SelectedHeaderBackground

public GridColor SelectedHeaderBackground { get; init; }

Behind the headers of whole selected columns or rows.

SelectedHeaderText

public GridColor SelectedHeaderText { get; init; }

Text of the headers of whole selected columns or rows.

SelectionFill

public GridColor SelectionFill { get; init; }

The translucent shade over selected cells other than the active cell.