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
Int32

Item[Int32]

Indexer for the collection

Declaration
public T this[int PositionID] { get; }
Parameters
Type Name Description
Int32 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

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
IEnumerator

The enumerator

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
In this article
Back to top Generated by DocFX