Skip to content

Class ExcelStyleCollection<T>

Namespace: OfficeOpenXml
Assembly: EPPlus.dll

Base collection class for styles.

public class ExcelStyleCollection<T> : IEnumerable<T>, IEnumerable

Type Parameters

T

The style type

Inheritance

object ← ExcelStyleCollection<T>

Implements

IEnumerable
IEnumerable<T>

Inherited Members

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

Properties

Count

Number of items in the collection

public int Count { get; }

Property Value

int

TopNode

The top xml node of the collection

public XmlNode TopNode { get; set; }

Property Value

XmlNode

this[int]

Indexer for the collection

public T this[int PositionID] { get; }

Property Value

T

Methods

GetEnumerator()

Returns an enumerator that iterates through a collection.

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>

The enumerator