Class ExcelTableNamedStyleAsType
- Namespace
- OfficeOpenXml.Style.Table
- Assembly
- EPPlus.dll
Provides a simple way to type cast a table named style objects to its top level class.
public class ExcelTableNamedStyleAsType
- Inheritance
-
ExcelTableNamedStyleAsType
- Inherited Members
Properties
PivotTableStyle
Returns the table named style object as a named style for pivot tables only
public ExcelPivotTableNamedStyle PivotTableStyle { get; }
Property Value
- ExcelPivotTableNamedStyle
The pivot table named style object
TableAndPivotTableStyle
Returns the table named style object as a named style that can be applied to both tables and pivot tables.
public ExcelTableAndPivotTableNamedStyle TableAndPivotTableStyle { get; }
Property Value
- ExcelTableAndPivotTableNamedStyle
The shared table named style object
TableStyle
Returns the table named style object as a named style for tables only
public ExcelTableNamedStyle TableStyle { get; }
Property Value
- ExcelTableNamedStyle
The table named style object
Methods
Type<T>()
Converts the table named style object to it's top level or another nested class.
public T Type<T>() where T : ExcelTableNamedStyleBase
Returns
- T
The table named style as type T
Type Parameters
T
The type of table named style object. T must be inherited from ExcelTableNamedStyleBase