Struct CellStyle
A column- or row-level cell style: number format, bold, and italic. Register one with AddStyle(CellStyle).
public readonly record struct CellStyle : IEquatable<CellStyle>
- Implements
- Inherited Members
Properties
Bold
Gets a value indicating whether text in cells using this style is bold.
public bool Bold { get; init; }
Property Value
Italic
Gets a value indicating whether text in cells using this style is italic.
public bool Italic { get; init; }
Property Value
NumberFormat
Gets the Excel number-format code (e.g. "#,##0.00", "yyyy-mm-dd", "0.0%"), or null for the general format.
public string? NumberFormat { get; init; }