Style Members
In This Article
#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. |
Is |
Indicates whether the current style is the built-in style. |
Name | Gets the name of the cell style. |
Number |
Specifies a number format for a numeric cell value in the invariant culture. Inherited from Formatting. |
Number |
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 |
---|---|
Begin |
Locks the Formatting object. Prevents visual updates until the End method calls.
Inherited from Formatting. |
Copy |
Duplicates the format settings of the specified built-in style into the current Style instance. |
End |
Unlocks the Formatting object after you call Begin . It also causes an immediate visual update.
Inherited from Formatting. |
Equals |
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 Style |
See Also