Spread for ASP.NET 9.0 Product Documentation
DefaultStyleCollection Class Members
Fields  Properties  Methods 


The following tables list the members exposed by DefaultStyleCollection.

Public Constructors
 NameDescription
Public ConstructorDefaultStyleCollection Constructor  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)ColumnFooterDefaultRepresents the default style for row header cells.  
Public Fieldstatic (Shared in Visual Basic)ColumnHeaderDefaultRepresents the default style for column header cells.  
Public Fieldstatic (Shared in Visual Basic)CornerDefaultRepresents the default style for corner header cells.  
Public Fieldstatic (Shared in Visual Basic)DataAreaDefaultRepresents the default style for data area cells in the sheet.  
Public Fieldstatic (Shared in Visual Basic)DataAreaDefault2Represents the default style for data area cells in the sheet with padding.  
Public Fieldstatic (Shared in Visual Basic)FilterBarDefaultRepresents the default style for the filter bar.  
Public Fieldstatic (Shared in Visual Basic)HeaderDefaultRepresents the default style for header cells.  
Public Fieldstatic (Shared in Visual Basic)RowHeaderDefaultRepresents the default style for row header cells.  
Public Fieldstatic (Shared in Visual Basic)StylesArray of NamedStyle objects containing the default styles.  
Top
Public Properties
 NameDescription
Public PropertyCountGets the number of 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 true.)

 
Public PropertyIsSynchronizedGets whether access to the collection is synchronized.

(This implementation always returns false.)

 
Public PropertyItemGets or sets the NamedStyle object at the specified index in the collection.  
Public PropertySyncRootGets a NamedStyleCollection object that can be used to synchronize access to the collection.  
Top
Public Methods
 NameDescription
Public MethodAddNot supported; calling this method throws an exception because the collection is read-only.  
Public MethodComposeComposes a style using the default styles and a specified StyleInfo object.  
Public MethodContainsDetermines whether the collection contains the specified style.  
Public MethodCopyToOverloaded. Copies the styles in the collection to a specified array.  
Public MethodFindSearches the collection for a NamedStyle 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 NamedStyle object.  
Public MethodInsertNot supported; calling this method throws an exception because the collection is read-only.  
Public MethodRemoveNot supported; calling this method throws an exception because the collection is read-only.  
Top
See Also

Reference

DefaultStyleCollection Class
FarPoint.Web.Spread Namespace
NamedStyleCollection Class

User-Task Documentation

Creating and Applying a Style for Cells

 

 


Copyright © GrapeCity, inc. All rights reserved.