Skip to content

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

object ← ExcelTableNamedStyleAsType

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

PivotTableStyle

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

public ExcelPivotTableNamedStyle PivotTableStyle { get; }

Property Value

ExcelPivotTableNamedStyle

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

TableStyle

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

public ExcelTableNamedStyle TableStyle { get; }

Property Value

ExcelTableNamedStyle

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