Skip to main content
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. Prevents visual updates until the EndUpdate method calls. 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 you call BeginUpdate. It also 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