Show / Hide Table of Contents

Class ExcelStyleCollection<T>

Base collection class for styles.

Inheritance
object
ExcelStyleCollection<T>
ExcelNamedStyleCollection<T>
Implements
IEnumerable<T>
IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelStyleCollection<T> : IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

The style type

Properties

Count

Number of items in the collection

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Indexer for the collection

Declaration
public T this[int PositionID] { get; }
Parameters
Type Name Description
int PositionID

The index of the Style

Property Value
Type Description
T

TopNode

The top xml node of the collection

Declaration
public XmlNode TopNode { get; set; }
Property Value
Type Description
XmlNode

Methods

GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type Description
IEnumerator<T>

The enumerator

Implements

IEnumerable<T>
IEnumerable
In this article
Back to top Generated by DocFX