The following tables list the members exposed by DefaultStyleCollection.
Name | Description | |
---|---|---|
DefaultStyleCollection Constructor |
Name | Description | |
---|---|---|
ColumnFooterDefault | Represents the default style for row header cells. | |
ColumnHeaderDefault | Represents the default style for column header cells. | |
CornerDefault | Represents the default style for corner header cells. | |
DataAreaDefault | Represents the default style for data area cells in the sheet. | |
DataAreaDefault2 | Represents the default style for data area cells in the sheet with padding. | |
HeaderDefault | Represents the default style for header cells. | |
RowHeaderDefault | Represents the default style for row header cells. | |
Styles | Array of NamedStyle objects containing the default styles. |
Name | Description | |
---|---|---|
Count | Gets the number of NamedStyle objects in the collection. | |
IsFixedSize | Gets whether the collection has a fixed size.
(This implementation always returns false.) | |
IsReadOnly | Gets whether the collection is read-only.
(This implementation always returns true.) | |
IsSynchronized | Gets whether access to the collection is synchronized.
(This implementation always returns false.) | |
Item | Gets or sets the NamedStyle object at the specified index in the collection. | |
SyncRoot | Gets a NamedStyleCollection object that can be used to synchronize access to the collection. |
Name | Description | |
---|---|---|
Add | Not supported; calling this method throws an exception because the collection is read-only. | |
Compose | Composes a style using the default styles and a specified StyleInfo object. | |
Contains | Determines whether the collection contains the specified style. | |
CopyTo | Overloaded. Copies the styles in the collection to a specified array. | |
Find | Searches the collection for a NamedStyle with the specified name. | |
GetEnumerator | Gets an IEnumerator object for enumerating through the NamedStyle objects in the collection. | |
IndexOf | Returns the index of the specified NamedStyle object. | |
Insert | Not supported; calling this method throws an exception because the collection is read-only. | |
Remove | Not supported; calling this method throws an exception because the collection is read-only. |
Reference
DefaultStyleCollection ClassFarPoint.Web.Spread Namespace
NamedStyleCollection Class