Static
$tStatic
nextGets the number of styles in the collection. The number of styles in the collection.
Gets the default style for the workbook.
The normal style is the parent style for all cell and differential formats in the workbook, unless another parent style is specified.
Adds new user defined style to the workbook.
ArgumentNullException 'name' is null or empty.
ArgumentNullException 'name' is longer than 255 characters.
ArgumentException A style already exists with the a name of 'name'. Names are compared case-insensitively.
The added user defined style as a WorkbookStyle instance.
A cell format of the style.
The name which will identify the style in Microsoft Excel.
Adds new user defined style to the workbook.
ArgumentNullException 'name' is null or empty.
ArgumentNullException 'name' is longer than 255 characters.
ArgumentException A style already exists with the a name of 'name'. Names are compared case-insensitively.
The added user defined style as a WorkbookStyle instance.
The name which will identify the style in Microsoft Excel.
Determines whether a style is in the collection.
True if the style is found; False otherwise.
The style to locate in the collection.
Gets the style at the specified index. The style at the specified index.
ArgumentOutOfRangeException 'index' is less than zero or 'index' is greater than or equal to count.
The zero-based index of the style to get.
Gets the style with the specified name.
Style names are compared case-insensitively.
The style with the specified name or null if no style with that name exists.ArgumentNullException 'name' is null.
The name of the style to get.
Removes the specified style from the collection.
InvalidOperationException 'style' is the Normal style.
True if the style was successfully removed; False if the style was not in the collection.
The style to remove from the collection.
Removes the style at the specified index from the collection.
ArgumentOutOfRangeException 'index' is less than zero or 'index' is greater than or equal to count.
InvalidOperationException The style to remove at 'index' is the Normal style.
The zero-based index of the style in the collection.
Static
compareStatic
compareStatic
equalsStatic
equalsStatic
getStatic
getStatic
getStatic
referenceStatic
static
A collection of workbook styles, or complex formats which can be easily applied to cells in Microsoft Excel.
See
WorkbookStyle