Represents the style of an element.
The following tables list the members exposed by the IStyle type.
Name | Description | |
---|---|---|
![]() |
Gets the background. |
|
![]() |
Gets the brush used to draw data bars. |
|
![]() |
Gets the color of the bottom border. |
|
![]() |
Gets the thickness of the bottom border. |
|
![]() |
Gets the style of the bottom border. |
|
![]() |
Gets the color of the left border. |
|
![]() |
Gets the thickness of the left border. |
|
![]() |
Gets the style of the left border. |
|
![]() |
Gets the color of the right border. |
|
![]() |
Gets the thickness of the right border. |
|
![]() |
Gets the style of the right border. |
|
![]() |
Gets the color of the top border. |
|
![]() |
Gets the thickness of the top border. |
|
![]() |
Gets the style of the top border. |
|
![]() |
Gets a list with the conditional formats associated with this style. |
|
![]() |
Gets a value indicating whether the element's text is bold. |
|
![]() |
Gets a value indicating whether the element's text is double underlined. |
|
![]() |
Gets a value indicating whether the element's text is italic. |
|
![]() |
Gets the name of the font of the element's text. |
|
![]() |
Gets the size of the font of the element's text. |
|
![]() |
Gets a value indicating whether the element's text is with a line through the middle. |
|
![]() |
Gets a value indicating whether the element's text is underlined. |
|
![]() |
Gets the format of the element's contents. |
|
![]() |
Gets the horizontal alignment of the element's contents. |
|
![]() |
Gets the style identifier. |
|
![]() |
Gets the indentation of the element's text. |
|
![]() |
Gets the bottom padding of the element's contents. |
|
![]() |
Gets the left padding of the element's contents. |
|
![]() |
Gets the right padding of the element's contents. |
|
![]() |
Gets the top padding of the element's contents. |
|
![]() |
Gets the color of the primary diagonal. |
|
![]() |
Gets the thickness of the primary diagonal. |
|
![]() |
Gets the style of the primary diagonal. |
|
![]() |
Gets the orientation of the element's contents. |
|
![]() |
Gets the color of the secondary diagonal. |
|
![]() |
Gets the thickness of the secondary diagonal. |
|
![]() |
Gets the style of the secondary diagonal. |
|
![]() |
Gets the color of the element's text. |
|
![]() |
Gets an object that can be used to specify validation rules. |
|
![]() |
Gets the vertical alignment of the element's contents. |
|
![]() |
Gets the worksheet this style is associated with. |
|
![]() |
Gets a value indicating whether to wrap the element's text. |
|
![]() |
Resets the style to the default style. |
|
![]() |
Resets the conditional formats associated with this style. |
|
![]() |
Resets the validation associated with this style to the default validation. |
|
![]() |
Sets the background. |
|
![]() |
Sets the brush used to draw data bars. |
|
![]() |
Sets the color of the bottom border. |
|
![]() |
Sets the thickness of the bottom border. |
|
![]() |
Sets the style of the bottom border. |
|
![]() |
Sets the color of the left border. |
|
![]() |
Sets the thickness of the left border. |
|
![]() |
Sets the style of the left border. |
|
![]() |
Sets the color of the right border. |
|
![]() |
Sets the thickness of the right border. |
|
![]() |
Sets the style of the right border. |
|
![]() |
Sets the color of the top border. |
|
![]() |
Sets the thickness of the top border. |
|
![]() |
Sets the style of the top border. |
|
![]() |
Sets a value indicating whether the element's text is bold. |
|
![]() |
Sets a value indicating whether the element's text is double underlined. |
|
![]() |
Sets a value indicating whether the element's text is italic. |
|
![]() |
Sets the name of the font of the element's text. |
|
![]() |
Sets the size of the font of the element's text. |
|
![]() |
Sets a value indicating whether the element's text is with a line through the middle. |
|
![]() |
Sets a value indicating whether the element's text is underlined. |
|
![]() |
Sets the format of the element's contents. |
|
![]() |
Sets the horizontal alignment of the element's contents. |
|
![]() |
Sets the style identifier. |
|
![]() |
Sets the indentation of the element's text. |
|
![]() |
Sets the bottom padding of the element's contents. |
|
![]() |
Sets the left padding of the element's contents. |
|
![]() |
Sets the right padding of the element's contents. |
|
![]() |
Sets the top padding of the element's contents. |
|
![]() |
Sets the color of the primary diagonal. |
|
![]() |
Sets the thickness of the primary diagonal. |
|
![]() |
Sets the style of the primary diagonal. |
|
![]() |
Sets the orientation of the element's contents |
|
![]() |
Sets the color of the secondary diagonal. |
|
![]() |
Sets the thickness of the secondary diagonal. |
|
![]() |
Sets the style of the secondary diagonal. |
|
![]() |
Sets the color of the element's text. |
|
![]() |
Sets the vertical alignment of the element's contents. |
|
![]() |
Sets a value indicating whether to wrap the element's text. |