Class ExcelStyleCollection<T>
Base collection class for styles.
Inherited Members
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 |