Spread for ASP.NET 11 Product Documentation
NamedStyleCollection Class Members
Fields  Properties  Methods  Events


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : NamedStyleCollection Class

The following tables list the members exposed by NamedStyleCollection.

Public Constructors
 NameDescription
Public ConstructorCreates a custom style collection (NamedStyleCollection object).  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)Represents the read-only collection of default styles.  
Top
Public Properties
 NameDescription
Public PropertyGets whether the object in its entirety can be rendered with XML without losing any information.  
Public PropertyGets the number of styles (NamedStyle objects) in the collection.  
Public PropertyGets whether the collection has a fixed size. (This implementation always returns false.)  
Public PropertyGets whether the collection is read-only. (This implementation always returns false.)  
Public PropertyGets whether access to the collection is synchronized. (This implementation always returns false.)  
Public PropertyGets or sets the style (NamedStyle object) at the specified index in the collection.  
Public PropertyGets a collection (NamedStyleCollection object) that can be used to synchronize access.  
Top
Public Methods
 NameDescription
Public MethodOverloaded. Adds a style (NamedStyle object) to the collection.  
Public MethodOverloaded. Adds an array of styles (NamedStyle objects) to the collection.  
Public MethodRemoves all named styles from the collection.  
Public MethodComposes a style, using the current style and a specified NamedStyle object.  
Public MethodDetermines whether the collection contains the specified style (NamedStyle object).  
Public MethodOverloaded. Copies the styles in the collection to a specified array at a specified position.  
Public MethodLoads the collection of styles from XML.  
Public MethodFinds a style (NamedStyle object) in the collection with the specified name.  
Public MethodGets an IEnumerator object for enumerating through the NamedStyle objects in the collection.  
Public MethodReturns the index of the specified style in the collection.  
Public MethodInserts a style into the collection at the specified index.  
Public MethodRemoves the specified named style from the collection.  
Public MethodRemoves a named style (NamedStyle object) from the collection at the specified index.  
Public MethodSaves the collection of styles to XML.  
Top
Protected Methods
 NameDescription
Protected MethodRaises the Changed event.  
Top
Public Events
 NameDescription
Public EventOccurs when a style is added, removed, or changed in the collection.  
Top
See Also

Reference

NamedStyleCollection Class
FarPoint.Web.Spread Namespace
NamedStyle Class

User-Task Documentation

Creating and Applying a Style for Cells