[]
Represents the read-only collection of default NamedStyle objects.
public sealed class DefaultStyleCollection : IList, ICollection, IEnumerable
Public NotInheritable Class DefaultStyleCollection
Implements IList, ICollection, IEnumerable
Name | Description |
---|---|
DefaultStyleCollection() | Initializes the DefaultStyleCollection class. |
Name | Description |
---|---|
ColumnFooterEnhanced | Represents the enhanced style for column footer cells. |
ColumnFooterFlat | Represents the flat style for column footer cells. |
ColumnFooterFlatOffice2016Colorful | Represents the flat style for column footer cells in Excel 2016 Colorful skin. |
ColumnFooterFlatOffice2016DarkGray | Represents the flat style for column footer cells in Excel 2016 DarkGray skin. |
ColumnFooterFlatOffice2016White | Represents the flat style for column footer cells in Excel 2016 White skin. |
ColumnHeaderArcticSea | Represents the enhanced style for column header cells. |
ColumnHeaderDefaultEnhanced | Represents the new default style for column header cells. |
ColumnHeaderEnhanced | Represents the enhanced style for column header cells. |
ColumnHeaderFlat | Represents the flat style for column header cells. |
ColumnHeaderFlatOffice2016Colorful | Represents the flat style for column header cells in Excel 2016 Colorful skin. |
ColumnHeaderFlatOffice2016DarkGray | Represents the flat style for column header cells in Excel 2016 DarkGray skin. |
ColumnHeaderFlatOffice2016White | Represents the flat style for column header cells in Excel 2016 White skin. |
ColumnHeaderGrayscale | Represents the enhanced style for column header cells. |
ColumnHeaderMetallic | Represents the enhanced style for column header cells. |
ColumnHeaderMidnight | Represents the enhanced style for column header cells. |
ColumnHeaderNewspaper | Represents the enhanced style for column header cells. |
ColumnHeaderPastel | Represents the enhanced style for column header cells. |
ColumnHeaderRose | Represents the enhanced style for column header cells. |
ColumnHeaderSandstorm | Represents the enhanced style for column header cells. |
ColumnHeaderSeashell | Represents the enhanced style for column header cells. |
ColumnHeaderShamrock | Represents the enhanced style for column header cells. |
ColumnHeaderSunburst | Represents the enhanced style for column header cells. |
CornerArcticSea | Represents the enhanced style for corner header cells. |
CornerDefault | Represents the default style for header cells. |
CornerDefaultEnhanced | Represents the new default style for corner header cells. |
CornerEnhanced | Represents the enhanced style for corner header cells. |
CornerFooterDefaultEnhanced | Represents the new default style for corner footer cells. |
CornerFooterFlat | Represents the flat style for corner footer cells. |
CornerFooterFlatOffice2016Colorful | Represents the flat style for corner footer cells in Excel 2016 Colorful skin. |
CornerFooterFlatOffice2016DarkGray | Represents the flat style for corner footer cells in Excel 2016 DarkGray skin. |
CornerFooterFlatOffice2016White | Represents the flat style for corner footer cells in Excel 2016 White skin. |
CornerGrayscale | Represents the enhanced style for corner header cells. |
CornerHeaderFlat | Represents the flat style for corner header cells. |
CornerHeaderFlatOffice2016Colorful | Represents the flat style for corner header cells in Excel 2016 Colorful skin. |
CornerHeaderFlatOffice2016DarkGray | Represents the flat style for corner header cells in Excel 2016 DarkGray skin. |
CornerHeaderFlatOffice2016White | Represents the flat style for corner header cells in Excel 2016 White skin. |
CornerMetallic | Represents the enhanced style for corner header cells. |
CornerMidnight | Represents the enhanced style for corner header cells. |
CornerNewspaper | Represents the enhanced style for corner header cells. |
CornerPastel | Represents the enhanced style for corner header cells. |
CornerRose | Represents the enhanced style for corner header cells. |
CornerSandstorm | Represents the enhanced style for corner header cells. |
CornerSeashell | Represents the enhanced style for corner header cells. |
CornerShamrock | Represents the enhanced style for corner header cells. |
CornerSunburst | Represents the enhanced style for corner header cells. |
DataAreaDefault | Represents the default style for data area cells. |
DataAreaGrayscale | Represents the data area for the Grayscale style. |
DataAreaMidnight | Represents the data area for the Midnight style. |
FilterBarArcticSea | Represents the arctic sea style for the filter bar. |
FilterBarDefault | Represent the default style for filter bar. |
FilterBarDefaultEnhanced | Represents the new default style for filter bar. |
FilterBarEnhanced | Represents the enhanced style for filter bar. |
FilterBarFlat | Represents the flat style for filter bar. |
FilterBarFlatOffice2016Colorful | Represents the flat style for filter bar in Excel 2016 Colorful skin. |
FilterBarFlatOffice2016DarkGray | Represents the flat style for filter bar in Excel 2016 DarkGray skin. |
FilterBarFlatOffice2016White | Represents the flat style for filter bar in Excel 2016 White skin. |
FilterBarGrayscale | Represents the gray scale style for filter bar. |
FilterBarHeaderFlat | Represents the flat style for FilterBar header. |
FilterBarHeaderFlatOffice2016Colorful | Represents the flat style for FilterBar header in Excel 2016 Colorful skin. |
FilterBarHeaderFlatOffice2016DarkGray | Represents the flat style for FilterBar header in Excel 2016 DarkGray skin. |
FilterBarHeaderFlatOffice2016White | Represents the flat style for FilterBar header in Excel 2016 White skin. |
FilterBarMetallic | Represents the metallic style for filter bar. |
FilterBarMidnight | Represents the midnight style for filter bar. |
FilterBarNewspaper | Represents the newspaper style for filter bar. |
FilterBarPastel | Represents the pastel style for filter bar. |
FilterBarRose | Represents the rose style for filter bar. |
FilterBarSandstorm | Represents the sandstorm style for filter bar. |
FilterBarSeashell | Represents the seashell style for filter bar. |
FilterBarShamrock | Represents the shamrock style for filter bar. |
FilterBarSunburst | Represents the sunburst style for filter bar. |
HeaderDefault | Represents the default style for header cells. |
RowHeaderArcticSea | Represents the enhanced style for row header cells. |
RowHeaderDefault | Represents the default style for header cells. |
RowHeaderDefaultEnhanced | Represents the new default style for row header cells. |
RowHeaderEnhanced | Represents the enhanced style for row header cells. |
RowHeaderFlat | Represents the flat style for row header cells. |
RowHeaderFlatOffice2016Colorful | Represents the flat style for row header cells in Excel 2016 Colorful skin. |
RowHeaderFlatOffice2016DarkGray | Represents the flat style for row header cells in Excel 2016 DarkGray skin. |
RowHeaderFlatOffice2016White | Represents the flat style for row header cells in Excel 2016 White skin. |
RowHeaderGrayscale | Represents the enhanced style for row header cells. |
RowHeaderMetallic | Represents the enhanced style for row header cells. |
RowHeaderMidnight | Represents the enhanced style for row header cells. |
RowHeaderNewspaper | Represents the enhanced style for row header cells. |
RowHeaderPastel | Represents the enhanced style for row header cells. |
RowHeaderRose | Represents the enhanced style for row header cells. |
RowHeaderSandstorm | Represents the enhanced style for row header cells. |
RowHeaderSeashell | Represents the enhanced style for row header cells. |
RowHeaderShamrock | Represents the enhanced style for row header cells. |
RowHeaderSunburst | Represents the enhanced style for row header cells. |
Styles | Represents the array of NamedStyle objects that contain 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.) |
this[int] | Gets or sets the NamedStyle object at the specified index. |
SyncRoot | Gets a NamedStyleCollection object that can be used to synchronize access to the collection. |
Name | Description |
---|---|
Add(NamedStyle) | Not supported; calling this method throws an exception because the collection is read-only. |
Compose(object, StyleInfo) | Composes a style using the default styles and a specified StyleInfo object. Some styles can be ignored when composing by setting excludeInfo and excludeNs Style properties with excludeNs are ignored if they are set to excludeInfo |
Contains(NamedStyle) | Determines whether the collection contains the specified style. |
CopyTo(NamedStyle[], int) | Copies the styles in the collection to a specified array at a specified location. |
CopyTo(Array, int) | Copies the styles in the collection to a specified array at a specified location. |
Find(string) | Finds a style with the specified name in the collection. |
GetEnumerator() | Gets an IEnumerator object for enumerating through the NamedStyle objects in the collection. |
IndexOf(NamedStyle) | Returns the index of the specified NamedStyle object. |
Insert(int, NamedStyle) | Not supported; calling this method throws an exception because the collection is read-only. |
Remove(NamedStyle) | Not supported; calling this method throws an exception because the collection is read-only. |