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

Style Members

A named cell style.

Properties

Name Description
Alignment Provides access to cell alignment. Inherited from Formatting.
Borders Provides access to cell borders. Inherited from Formatting.
Fill Provides access to cell background. Inherited from Formatting.
Flags Provides access to flags that control which cell format attributes are specified by the applied cell style and which ones are specified by direct cell formatting. Inherited from Formatting.
Font Provides access to the cell font. Inherited from Formatting.
IsBuiltIn Indicates whether the current style is the built-in style.
Name Gets the name of the cell style.
NumberFormat Specifies a number format for a numeric cell value in the invariant culture. Inherited from Formatting.
NumberFormatLocal Specifies a number format for a numeric cell value based on the current (local) culture. Inherited from Formatting.
Protection Provides access to options which are in effect when the worksheet is protected. Inherited from Formatting.

Methods

Name Description
BeginUpdate() Locks the Formatting object by preventing visual updates until the EndUpdate method is called. Inherited from Formatting.
CopyFrom(BuiltInStyleId) Duplicates the format settings of the specified built-in style into the current Style instance.
EndUpdate() Unlocks the Formatting object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from Formatting.
Equals(Object) Determines whether or not the specified object is equal to the current Formatting instance. Inherited from Formatting.
Reset() Resets the built-in style to its original settings, and resets the Normal style to StyleCollection.DefaultStyle.
See Also