Show / Hide Table of Contents

Class ExcelTableNamedStyleBase

A base class for custom named table styles

Inheritance
System.Object
XmlHelper
ExcelTableNamedStyleBase
ExcelPivotTableNamedStyle
ExcelTableNamedStyle
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Style.Table
Assembly: EPPlus.dll
Syntax
public abstract class ExcelTableNamedStyleBase : XmlHelper

Fields

_styles

Declaration
protected ExcelStyles _styles
Field Value
Type Description
ExcelStyles

Properties

AppliesTo

If a table style is applied for a table/pivot table or both

Declaration
public abstract eTableNamedStyleAppliesTo AppliesTo { get; }
Property Value
Type Description
eTableNamedStyleAppliesTo

As

Provides access to type conversion for all table named styles.

Declaration
public ExcelTableNamedStyleAsType As { get; }
Property Value
Type Description
ExcelTableNamedStyleAsType

FirstColumn

Applies to the first column of a table or pivot table

Declaration
public ExcelTableStyleElement FirstColumn { get; }
Property Value
Type Description
ExcelTableStyleElement

FirstColumnStripe

Applies to the first column stripe of a table or pivot table

Declaration
public ExcelBandedTableStyleElement FirstColumnStripe { get; }
Property Value
Type Description
ExcelBandedTableStyleElement

FirstHeaderCell

Applies to the first header cell of a table or pivot table

Declaration
public ExcelTableStyleElement FirstHeaderCell { get; }
Property Value
Type Description
ExcelTableStyleElement

FirstRowStripe

Applies to the first row stripe of a table or pivot table

Declaration
public ExcelBandedTableStyleElement FirstRowStripe { get; }
Property Value
Type Description
ExcelBandedTableStyleElement

HeaderRow

Applies to the header row of a table or pivot table

Declaration
public ExcelTableStyleElement HeaderRow { get; }
Property Value
Type Description
ExcelTableStyleElement

LastColumn

Applies to the last column of a table or pivot table

Declaration
public ExcelTableStyleElement LastColumn { get; }
Property Value
Type Description
ExcelTableStyleElement

Name

The name of the table named style

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

SecondColumnStripe

Applies to the second column stripe of a table or pivot table

Declaration
public ExcelBandedTableStyleElement SecondColumnStripe { get; }
Property Value
Type Description
ExcelBandedTableStyleElement

SecondRowStripe

Applies to the second row stripe of a table or pivot table

Declaration
public ExcelBandedTableStyleElement SecondRowStripe { get; }
Property Value
Type Description
ExcelBandedTableStyleElement

TotalRow

Applies to the total row of a table or pivot table

Declaration
public ExcelTableStyleElement TotalRow { get; }
Property Value
Type Description
ExcelTableStyleElement

WholeTable

Applies to the entire content of a table or pivot table

Declaration
public ExcelTableStyleElement WholeTable { get; }
Property Value
Type Description
ExcelTableStyleElement

Methods

GetTableStyleElement(eTableStyleElement)

Declaration
protected ExcelTableStyleElement GetTableStyleElement(eTableStyleElement element)
Parameters
Type Name Description
eTableStyleElement element
Returns
Type Description
ExcelTableStyleElement
Back to top Generated by DocFX