Show / Hide Table of Contents

Class ExcelTableNamedStyleAsType

Provides a simple way to type cast a table named style objects to its top level class.

Inheritance
object
ExcelTableNamedStyleAsType
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OfficeOpenXml.Style.Table
Assembly: EPPlus.dll
Syntax
public class ExcelTableNamedStyleAsType

Properties

PivotTableStyle

Returns the table named style object as a named style for pivot tables only

Declaration
public ExcelPivotTableNamedStyle PivotTableStyle { get; }
Property Value
Type Description
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.

Declaration
public ExcelTableAndPivotTableNamedStyle TableAndPivotTableStyle { get; }
Property Value
Type Description
ExcelTableAndPivotTableNamedStyle

The shared table named style object

TableStyle

Returns the table named style object as a named style for tables only

Declaration
public ExcelTableNamedStyle TableStyle { get; }
Property Value
Type Description
ExcelTableNamedStyle

The table named style object

Methods

Type<T>()

Converts the table named style object to it's top level or another nested class.

Declaration
public T Type<T>() where T : ExcelTableNamedStyleBase
Returns
Type Description
T

The table named style as type T

Type Parameters
Name Description
T

The type of table named style object. T must be inherited from ExcelTableNamedStyleBase

In this article
Back to top Generated by DocFX