Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

TableStyleCollection Members

A TableStyle objects collection that contains the table styles in a document.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Item[String] Gets the Table Style object specified by its name.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
Add(TableStyle) Add a style to the collection of styles in the current document.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
CreateNew() Creates a new table style.
Delete(TableStyle) Marks the specified style as deleted, so it can no longer be applied.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Restore(TableStyle) Restores a table style marked as deleted.
See Also