Version

Search Results

Clear Method (CustomTableStyleCollection)

Clears the collection. Syntax Remarks If any WorksheetTable instances in the workbook have their style removed due to this operation, their style will be set to the Workbook.DefaultTableStyle.

Contains Method (CustomTableStyleCollection)

Determines whether the specified WorksheetTableStyle is contained in the collection. Syntax Parameters style The table style to find in the collection. Return Value True if the style is in the collection; False otherwise.

Count Property (CustomTableStyleCollection)

Gets the number of custom WorksheetTableStyle instances in the collection. Syntax

IndexOf Method (CustomTableStyleCollection)

Gets the index of the specified style in the collection. Syntax Parameters style The style to find in the collection. Return Value The 0-based index of the specified style in the collection or -1 if the style is not in the collection. Exceptions Exception Description System.ArgumentNullException style is null.

Item(Int32) Property

Gets the WorksheetTableStyle at the specified index. Syntax Parameters index The index at which to get the WorksheetTableStyle. Property Value The WorksheetTableStyle instance at the specified index. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than 0 or greater than or equal t...

Item(String) Property

Gets the WorksheetTableStyle with the specified name. Syntax Parameters name The name of the WorksheetTableStyle to find. Property Value The WorksheetTableStyle instance with the specified name or null if a table style with that name does not exist. Remarks Table style names are compared case-insensitively.

Item Property (CustomTableStyleCollection)

Gets the WorksheetTableStyle at the specified index. Overload List Exceptions Exception Description System.ArgumentOutOfRangeException index is less than 0 or greater than or equal to Count.

Remove Method (CustomTableStyleCollection)

Removes the specified WorksheetTableStyle from the collection. Syntax Parameters style The table style to remove from the collection. Return Value True if the style was in the collection and therefore removed; False otherwise. Exceptions Exception Description System.ArgumentNullException style is null. Remarks If ...

RemoveAt Method (CustomTableStyleCollection)

Removes the WorksheetTableStyle at the specified index. Syntax Parameters index The index of the table style to remove. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than 0 or greater than or equal to Count. Remarks If any WorksheetTable instances in the workbook have their styl...

CustomView Class

Represents a custom view in Microsoft Excel. Syntax Remarks Custom views provide a way to save display options and optionally print options for the workbook and each worksheet in the workbook. These options can be different from the options currently set on the workbook and worksheets. Multiple custom views can be...