The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

StyleCollection Methods

A collection of cell styles in the workbook.

Name Description
Add(String)

Creates a new style with the specified name and appends it to the style collection.

Contains(BuiltInStyleId)

Obsolete. Indicates whether the collection contains the specified built-in style.

Contains(String)

Indicates whether the collection contains the style under the specified name.

CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ICollection)
GetEnumerator() Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<T>)
Hide(Style)

Marks the specified style as deleted, so it can no longer be applied to cells.

Remove(String)

Obsolete. Marks the style with the specified name as deleted, so it can no longer be applied to cells.

Unhide(Style)

Restores the hidden style at its previous position in the collection.

See Also