Table of Contents

Property Style

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

Style

Gets or sets the table's style: one of Excel's (TableStyleLight1 to 21, TableStyleMedium1 to 28, TableStyleDark1 to 11); null when the file names none.

public string? Style { get; set; }

Property Value

string

Exceptions

ArgumentException

The value set is not one of Excel's styles.

InvalidOperationException

The table is no longer on the sheet.