Xceed Workbooks for .NET v1.4 Documentation
Style Class Members
Properties  Methods 


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace : Style Class

The following tables list the members exposed by Style.

Public Properties
 NameDescription
Public PropertyGets or sets the horizontal and vertical alignments used to align the content of a cell. The default values are General for horizontal and Bottom for vertical.  
Public PropertyGets the collection of active Borders in a Style. Returns an empty collection by default.  
Public PropertyGets or sets the BuiltinStyleType. The default setting is Normal.  
Public PropertyGets or sets the format used to display the content of a Cell, the cells in a Column or the cells in a Row. The default is null. Setting this property will overwrite the  PredefinedNumberFormatId property. The formatting characters that can be used are explained here : https://www.ablebits.com/office-addins-blog/2016/07/07/custom-excel-number-format/.  
Public PropertyGets or sets the Fill object used to fill the background of a CellColumnRow or range.  
Public PropertyGets or sets the Font to use for the current Style.  
Public PropertyGets or sets the predefined number format with an Id. Built-in common formatting options exist, like in MS Excel. A specific Id can be set to format the content of a Cell, the Cells in a Column or the Cells in a Row with predefined formats. The default value is 0. Setting this property will overwrite the CustomFormat property.  
Public PropertyGets or sets the Protection object associated with this Style. The default value is null.  
Top
Public Methods
 NameDescription
Public MethodDetermines whether the specified System.Object is equal to the current System.Object.  
Public MethodServes as a hash function for a particular type.  
Public MethodResets the Style of the CellRow or Column back to its default setting.  
Top
Protected Methods
See Also

Reference

Style Class
Xceed.Workbooks.NET Namespace