Class ExcelTableColumn
- Namespace
- OfficeOpenXml.Table
- Assembly
- EPPlus.dll
A table column
public class ExcelTableColumn : ExcelTableDxfBase
- Inheritance
-
ExcelTableColumn
- Inherited Members
Properties
CalculatedColumnFormula
Sets a calculated column Formula.
Be carefull with this property since it is not validated.
public string CalculatedColumnFormula { get; set; }
Property Value
DataCellStyleName
The named style for datacells in the column
public string DataCellStyleName { get; set; }
Property Value
Id
The column id
public int Id { get; set; }
Property Value
Name
The name of the column
public string Name { get; set; }
Property Value
Position
The position of the column
public int Position { get; }
Property Value
Slicer
Returns the slicer attached to a column. If the column has multiple slicers, the first is returned.
public ExcelTableSlicer Slicer { get; }
Property Value
Table
The ExcelTable containing the table column
public ExcelTable Table { get; }
Property Value
TotalsRowFormula
Sets a custom Totals row Formula.
Be carefull with this property since it is not validated.
public string TotalsRowFormula { get; set; }
Property Value
TotalsRowFunction
Build-in total row functions. To set a custom Total row formula use the TotalsRowFormula property TotalsRowFormula
public RowFunctions TotalsRowFunction { get; set; }
Property Value
TotalsRowLabel
A string text in the total row
public string TotalsRowLabel { get; set; }
Property Value
Methods
AddSlicer()
Adds a slicer drawing connected to the column
public ExcelTableSlicer AddSlicer()
Returns
- ExcelTableSlicer
The table slicer drawing object