Class ExcelTableOptions
Configures an Excel table written with BeginTable(string, IReadOnlyList<string>, ExcelTableOptions?).
public sealed record ExcelTableOptions : IEquatable<ExcelTableOptions>
- Inheritance
-
ExcelTableOptions
- Implements
- Inherited Members
Properties
Default
The default options: column A, TableStyleMedium2, banded rows.
public static ExcelTableOptions Default { get; }
Property Value
FirstColumn
The zero-based column of the table's first column. Defaults to 0 (column A).
public int FirstColumn { get; init; }
Property Value
Remarks
Rows written while the table is open must skip to this column themselves.
ShowColumnStripes
Whether alternate columns are banded. Defaults to false.
public bool ShowColumnStripes { get; init; }
Property Value
ShowFirstColumn
Whether the first column gets the style's emphasis. Defaults to false.
public bool ShowFirstColumn { get; init; }
Property Value
ShowLastColumn
Whether the last column gets the style's emphasis. Defaults to false.
public bool ShowLastColumn { get; init; }
Property Value
ShowRowStripes
Whether alternate rows are banded. Defaults to true.
public bool ShowRowStripes { get; init; }
Property Value
StyleName
The built-in table style: TableStyleLight1–21, TableStyleMedium1–28 or
TableStyleDark1–11; null for no style. Defaults to TableStyleMedium2.
public string? StyleName { get; init; }