Class ExcelStyleCollection<T>
Base collection class for styles.
Inheritance
System.Object
ExcelStyleCollection<T>
Implements
System.Collections.Generic.IEnumerable <T>
System.Collections.IEnumerable
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
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 |
---|---|
System. |
Item[Int32]
Indexer for the collection
Declaration
public T this[int PositionID] { get; }
Parameters
Type | Name | Description |
---|---|---|
System. |
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 |
---|---|
System. |
Methods
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type | Description |
---|---|
System. |
The enumerator |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System. |
The enumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable