Style Methods

The Style type exposes the following members.

Public methodCopy
Copies data from another style object
Public methodEquals
Determines whether two Style instances are equal.
(Overrides ObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a Style object.
(Overrides ObjectGetHashCode.)
Public methodGetTwoColorGradient
Get the two-color gradient setting.
Public methodGetType (Inherited from Object.)
Public methodIsModified
Checks whether the specified properties of the style have been modified. Used for style of ConditionalFormattings to check whether the specified properties of this style should be used when applying the ConditionalFormattings on a cell.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetBorder
Sets the border of the style.
Public methodSetCustom
Sets the Custom number format string of a cell.
Public methodSetPatternColor
Sets the background color.
Public methodSetTwoColorGradient
Sets the specified fill to a two-color gradient.
Public methodToString (Inherited from Object.)
Public methodUpdate
Apply the named style to the styles of the cells which use this named style. It works like clicking the "ok" button after you finished modifying the style. Only applies for named style.
See Also