Using Excel for WPF and Silverlight > Styles |
The XLStyle class defines the appearance of a cell, row, or column on a sheet. XLStyle includes properties that specify style elements such as the font, alignment, colors, and format used to display cell values. Not all style elements need to be defined in every XLStyle object. For example, if an XLStyle specifies only a format, then the cell is displayed using the specified format and default settings for the other style elements (font, alignment, and so on).