Click or drag to resize
CellStyleCollection Class
Represents cell style collection.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.Spreadsheet.PropertySystemCellStyleCollection

Namespace: Telerik.Windows.Documents.Spreadsheet.PropertySystem
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2017.2.607.40 (2017.2.607.40)
Syntax
public class CellStyleCollection : IEnumerable<CellStyle>, 
	IEnumerable

The CellStyleCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds the specified style.
Public methodContains(String)
Determines whether the style with the specified name is contained.
Public methodContains(CellStyle)
Determines whether the specified style is contained.
Public methodGetByName
Gets the style by name.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Protected methodOnChanged
Called when the collection is changed.
Public methodRemove(String)
Removes the specified style by name.
Public methodRemove(CellStyle)
Removes the specified style.
Top
Extension Methods
  NameDescription
Public Extension MethodAppendCellStyle(IEnumerableCellStyle)Overloaded.
Appends elements from two sequences.
(Defined by CollectionExtensions.)
Public Extension MethodAppendCellStyle(CellStyle)Overloaded.
Appends an element to a sequence.
(Defined by CollectionExtensions.)
Public Extension MethodAppendCellStyle(IEnumerableCellStyle)Overloaded. (Defined by EnumerableExtensions.)
Public Extension MethodAppendCellStyle(CellStyle)Overloaded. (Defined by EnumerableExtensions.)
Public Extension MethodCloneCellStyle
Clones the list.
(Defined by CommonExtensions.)
Public Extension MethodContainsAnyCellStyle
Checks for the occurrence of the given items in the collection.
(Defined by CommonExtensions.)
Public Extension MethodForEachCellStyle
Executes the action for each item in the collection.
(Defined by CommonExtensions.)
Public Extension MethodTakeAfterCellStyle
Bypasses elements from a sequence as long as a specified condition is true and then returns the remaining elements.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBeforeCellStyle
Bypasses elements from a sequence until the specified condition becomes true.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBetweenCellStyle(FuncCellStyle, Boolean, FuncCellStyle, Boolean)Overloaded.
Bypasses elements from a sequence as long as the first condition is false. Returns elements from the remaining elements as long the second condition is false.
(Defined by CollectionExtensions.)
Public Extension MethodTakeBetweenCellStyle(CellStyle, CellStyle)Overloaded.
Returns elements from a sequence as long as they are between the two items.
(Defined by CollectionExtensions.)
Public Extension MethodTakeFromCellStyle(FuncCellStyle, Boolean)Overloaded.
Bypasses elements from a sequence as long as a specified condition is false and then returns the element that satisfies the condition and the elements after.
(Defined by CollectionExtensions.)
Public Extension MethodTakeFromCellStyle(CellStyle)Overloaded.
Bypasses elements from a sequence as long as the element is not equal to the items in the sequence.
(Defined by CollectionExtensions.)
Public Extension MethodTakeToCellStyle(FuncCellStyle, Boolean)Overloaded.
Returns elements from a sequence as long as a specified condition is false. This method also returns the first element that satisfies the condition.
(Defined by CollectionExtensions.)
Public Extension MethodTakeToCellStyle(CellStyle)Overloaded.
Returns elements from a sequence as long as the sequence elements differs from the item.
(Defined by CollectionExtensions.)
Top
Properties
  NameDescription
Public propertyCount
Gets the count of the styles.
Public propertyItem
Gets the CellStyle with the specified style name.
Public propertyWorkbook
Gets the workbook.
Top
Events
  NameDescription
Public eventChanged
Occurs when the collection is changed.
Top
See Also