C1.Excel Assembly / C1.Excel Namespace / XLStyle Class
Members

XLStyle Class
Contains style elements used to define the appearance of the cells.
Object Model
XLStyle Class
Syntax
'Declaration
 
Public Class XLStyle 
 
Remarks

Each XLStyle object may define one or more of the following elements: font, format, background color, background pattern, foreground color, alignment, text direction, and word wrapping.

When displaying a cell, Excel combines the row, column, and cell styles and merges the style elements defined in each one in order to determine how the cell should be displayed. The precedence of the styles is: (1) cell, (2) row, (3) column, (4) default style.

Every XLStyle belongs to a C1XLBook, and may be assigned to one or more XLRow, XLColumn, and XLCell objects through their Style property.

Inheritance Hierarchy

System.Object
   C1.Excel.XLStyle

See Also