Description

The ExcelCellStyle type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

  Member Description
BackgroundColor
Gets or sets background color. There are predefined colors ColorPalette for XLS format.

Remarks

It's recomended to use SetFillColorOfCell(Color) method.
Borders
CellDataFormat
Gets a type of cell data format.
Font
Gets or sets ExcelCellFont related settings (ExcelCellFont).
Hidden
Gets of sets if the ExcelCell is hidden.
HorizontalAlignment
Gets or sets a horizontal alignment.
IsDefaultStyle
Returns true if cell style is default; otherwise, false.
IsVerticalText
Gets of sets whether the ExcelCell text is displayed in a vertical style.
Locked
Gets of sets if the ExcelCell is locked.
PatternFillStyle
Gets or sets fill pattern.

Remarks

PatternForeColor
Gets or sets fill pattern foreground color.

Remarks

Rotation
Gets or sets ExcelCell data rotation. Value must be between -90 and 90.
StringFormat
Gets or sets a format string that will be used to interpret and display ExcelCell value.

Remarks

Use predefined formats DefinedFormats to quick set format string. For more information on number format strings consult Microsoft Excel documentation.
VerticalAlignment
Gets or set a vertical alignment.
WrapText
Gets or sets if the text is Wrapped.

See Also