Click or drag to resize

TableStyleFormatCollection Class

Represents a collection of conditional TableStyleFormats.
Inheritance Hierarchy
SystemObject
  GemBox.Document.TablesTableStyleFormatCollection

Namespace:  GemBox.Document.Tables
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 29.0.35.1000
Syntax
public sealed class TableStyleFormatCollection : IEnumerable<TableStyleFormat>, 
	IEnumerable

The TableStyleFormatCollection type exposes the following members.

Properties
  NameDescription
Public propertyItem

Gets the TableStyleFormat that corresponds to given format type.

If TableStyleFormatCollection doesn't contain corresponding format, then new format will be added and returned.

Top
Methods
  NameDescription
Public methodAdd
Sets the specified formats. This method is required to support C# collection initializer syntax.
Public methodClear
Clears the TableStyleFormatCollection.
Public methodContains
Determines whether the TableStyleFormatCollection contains a TableStyleFormat instance with specific format type.
Public methodGetEnumerator
Returns an enumerator that iterates through the TableStyleFormatCollection.
Public methodRemove
Removes the TableStyleFormat with the specified format type from the TableStyleFormatCollection.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through the TableStyleFormatCollection.
Top
Remarks

Table style conditional formats are applied to different regions of the table and allow you to define all formatting properties (formatting for a table, rows, cells, paragraphs and runs).

For more information about table styles, see table styles article and table styles example.

See Also