Class ExcelHeaderStyleFormatAttribute
- Namespace
- BigExcelCreator.ClassAttributes
- Assembly
- BigExcelCreator.dll
Format to apply to the header row.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class ExcelHeaderStyleFormatAttribute : Attribute
- Inheritance
-
ExcelHeaderStyleFormatAttribute
- Inherited Members
Constructors
ExcelHeaderStyleFormatAttribute(int)
Format index to apply to the header row.
public ExcelHeaderStyleFormatAttribute(int format)
Parameters
formatintThe format index to apply to the cells in header row. Default is 0. See GetIndexByName(string).
ExcelHeaderStyleFormatAttribute(string)
Format index to apply to the header row.
public ExcelHeaderStyleFormatAttribute(string styleName)
Parameters
styleNamestringThe style name to apply to the cell.
Properties
Format
The format to apply to the cell./>.
public int Format { get; }
Property Value
StyleName
The style name to apply to the cells in header row.
public string StyleName { get; }