Table of Contents

Property TabColor

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

TabColor

Gets or sets the colour of the sheet's tab; null for none.

public ColorRgb? TabColor { get; set; }

Property Value

ColorRgb?

Remarks

A theme colour is read as the colour it stands for; a colour set is written as RGB, as Excel writes one picked from the palette's more colours.

Exceptions

InvalidOperationException

The sheet is not a worksheet (setting it).