Class SpreadCellStyleCollection
Represents a cell style collection.
Inheritance
Inherited Members
Namespace: Telerik.Documents.SpreadsheetStreaming
Assembly: Telerik.Documents.SpreadsheetStreaming.dll
Syntax
public class SpreadCellStyleCollection : IEnumerable<SpreadCellStyle>, IEnumerable
Properties
Count
Gets the number of elements contained in this collection.
Declaration
public int Count { get; }
Property Value
System.Int32
The number of elements contained in this collection. |
Item[String]
Gets the SpreadCellStyle with the specified style name.
Declaration
public SpreadCellStyle this[string styleName] { get; }
Parameters
System.String
styleName
|
Property Value
SpreadCellStyle
The spread cell style. |
Methods
Add(String)
Creates a new cell style with the specified name.
Declaration
public SpreadCellStyle Add(string styleName)
Parameters
System.String
styleName
The name of the new cell style. |
Returns
SpreadCellStyle
The style. |
Contains(String)
Determines whether the style with the specified name is in the SpreadCellStyleCollection.
Declaration
public bool Contains(string styleName)
Parameters
System.String
styleName
The name of the style. |
Returns
System.Boolean
True if it is present; otherwise, false. |
Contains(SpreadCellStyle)
Determines whether the specified style is in the SpreadCellStyleCollection.
Declaration
public bool Contains(SpreadCellStyle style)
Parameters
SpreadCellStyle
style
The style. |
Returns
System.Boolean
True if it is present; otherwise, false. |
GetByName(String)
Gets the SpreadCellStyle with the specified style name.
Declaration
public SpreadCellStyle GetByName(string styleName)
Parameters
System.String
styleName
The name of the style. |
Returns
SpreadCellStyle
The style. |
GetEnumerator()
Returns an enumerator that iterates through the the SpreadCellStyleCollection.
Declaration
public IEnumerator<SpreadCellStyle> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<SpreadCellStyle>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a the SpreadCellStyleCollection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |