Spread Windows Forms 10.0 Product Documentation
StyleCollection Class Members
Properties  Methods 


The following tables list the members exposed by StyleCollection.

Public Constructors
 NameDescription
Public ConstructorStyleCollection ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCountGets the number of key-and-value pairs contained in the BaseKeyCollection. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Public PropertyItemOverloaded. Gets the Style at the specified index.  
Public PropertyKeysGets a System.String array that contains the keys in the BaseKeyCollection. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Top
Protected Properties
 NameDescription
Protected PropertyItemListGets an System.Collections.ICollection that contains the list of elements in the BaseKeyCollection instance. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Top
Public Methods
 NameDescription
Public MethodAddOverloaded. Adds a new Style with the specified key into the StyleCollection.  
Public MethodAddRangeOverloaded. Adds the specified key array and Style array into the StyleCollection.  
Public MethodClearOverridden. Removes all elements from the StyleCollection.  
Public MethodContainsDetermines whether an element is contained in the BaseKeyCollection. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Public MethodContainsKeyDetermines whether the BaseKeyCollection contains a specific key. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Public MethodContainsValueDetermines whether the BaseKeyCollection contains a specific value. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Public MethodCopyToOverloaded. Copies the items of the StyleCollection to a compatible one-dimensional array of type Style, starting from the first index of the target array.  
Public MethodDisposeReleases the resources used by the BaseKeyCollection. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Public MethodGetKeyGets the key of the element with the specified index in the collection. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Public MethodIndexOfOverloaded. Returns the zero-based index of the element with specified key in the BaseKeyCollection. (Inherited from GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection)
Public MethodInsertOverloaded. Inserts a new Style with the specified key into the StyleCollection.  
Public MethodRemoveOverridden. Removes the element with the specified key from the StyleCollection.  
Public MethodRemoveAtOverridden. Removes the element with the specified index from the StyleCollection.  
Top
Protected Methods
 NameDescription
Protected MethodOnCollectionChangedCalled when the StyleCollection object has changed.  
Top
See Also

Reference

StyleCollection Class
GrapeCity.Win.Spread.InputMan.CellType Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.