Spread Windows Forms 6.0 Product Documentation
NamedStyleCollection Class Members
See Also  Fields  Properties  Methods  Events Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : NamedStyleCollection Class


Glossary Item Box

The following tables list the members exposed by NamedStyleCollection.

Public Constructors

 NameDescription
Public ConstructorNamedStyleCollection ConstructorCreates a custom style collection (NamedStyleCollection object).  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic)DefaultStylesRepresents the read-only collection of default styles.  
Top

Public Properties

 NameDescription
Public PropertyCanSerializeXmlGets whether the object in its entirety can be rendered with XML without losing any information.  
Public PropertyCountGets the number of styles (NamedStyle objects) in the collection.  
Public PropertyIsFixedSizeGets whether the collection has a fixed size. (This implementation always returns false.)  
Public PropertyIsReadOnlyGets whether the collection is read-only. (This implementation always returns false.)  
Public PropertyIsSynchronizedGets whether access to the collection is synchronized. (This implementation always returns false.)  
Public PropertyItemGets or sets the style (NamedStyle object) at the specified index in the collection.  
Top

Public Methods

 NameDescription
Public MethodAddOverloaded. Adds a style (NamedStyle object) to the collection.  
Public MethodAddRangeOverloaded. Adds an array of styles (NamedStyle objects) to the collection.  
Public MethodClearRemoves all named styles from the collection.  
Public MethodComposeComposes a style, using the current style and a specified NamedStyle object.  
Public MethodContainsDetermines whether the collection contains the specified style (NamedStyle object).  
Public MethodCopyToOverloaded. Copies the styles in the collection to a specified array at a specified position.  
Public MethodDeserializeLoads the collection of styles from XML.  
Public MethodFindFinds a style (NamedStyle object) in the collection with the specified name.  
Public MethodGetEnumeratorGets an IEnumerator object for enumerating through the NamedStyle objects in the collection.  
Public MethodIndexOfReturns the index of the specified style in the collection.  
Public MethodInsertInserts a style into the collection at the specified index.  
Public MethodRemoveRemoves the specified named style from the collection.  
Public MethodRemoveAtRemoves a named style (NamedStyle object) from the collection at the specified index.  
Public MethodSerializeSaves the collection of styles to XML.  
Top

Protected Methods

 NameDescription
Protected MethodOnChangedRaises the Changed event.  
Top

Public Events

 NameDescription
Public EventChangedOccurs when a style is added, removed, or changed in the collection.  
Top

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.