Contains style elements used to define the appearance of the cells.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public class XLStyle : ICloneable
Visual Basic
Public Class XLStyle _
	Implements ICloneable

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.Silverlight.Excel..::..XLStyle

See Also