ClassSpreadStreamCellStyle
A wrapper class used to transform the WPF types to types compatible with the SpreadStreamProcessing needs.
Definition
Namespace:Telerik.Windows.Controls.GridView.SpreadsheetStreamingExport
Assembly:Telerik.Windows.Controls.GridView.SpreadsheetStreamingExport.dll
Syntax:
public class SpreadStreamCellStyle
Inheritance: objectSpreadStreamCellStyle
Constructors
SpreadStreamCellStyle()
Initializes a new instance of the SpreadStreamCellStyle class.
Declaration
public SpreadStreamCellStyle()
SpreadStreamCellStyle(SpreadCellFormat, Color, Color, FontFamily, double?, bool?, bool?, bool?, SpreadHorizontalAlignment, SpreadVerticalAlignment, SpreadUnderlineType)
Initializes a new instance of the SpreadStreamCellStyle class.
Declaration
public SpreadStreamCellStyle(SpreadCellFormat cellFormat, Color backColor, Color foreground, FontFamily fontFamily, double? fontSize, bool? isBold, bool? isItalic, bool? isWrapped, SpreadHorizontalAlignment horizontalAlignment, SpreadVerticalAlignment verticalAlignment, SpreadUnderlineType underlineType)
Parameters
cellFormat
SpreadCellFormat
Current excel cell.
backColor
Color
BackColor of cell.
foreground
Color
ForeColor of cell.
fontFamily
FontFamily
FontFamily of cell.
fontSize
Font size of cell.
isBold
bool?
Is text bold.
isItalic
bool?
Is text italic.
isWrapped
bool?
Is text wrapped.
horizontalAlignment
SpreadHorizontalAlignment
Horizontal text alignment.
verticalAlignment
SpreadVerticalAlignment
Vertical text alignment.
underlineType
SpreadUnderlineType
Is text underlined.
Properties
Background
Gets or sets the fill of the excel cell.
Declaration
public Color Background { get; set; }
Property Value
Color
The fill.
CellFormat
Gets or sets the cell format.
Declaration
public SpreadCellFormat CellFormat { get; set; }
Property Value
SpreadCellFormat
The cell format.
FontFamily
Gets or sets the font family of the excel cell.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
FontFamily
The font family.
FontSize
Gets or sets the font size of the text.
Declaration
public double? FontSize { get; set; }
Property Value
The FontSize.
Foreground
Gets or sets the ForeColor of the excel cell.
Declaration
public Color Foreground { get; set; }
Property Value
Color
The ForeColor.
HorizontalAlignment
Gets or sets the horizontal alignment.
Declaration
public SpreadHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
SpreadHorizontalAlignment
The HorizontalAlignment.
IsBold
Gets or sets the IsBold property of the cells.
IsItalic
Gets or sets the isItalic property of the cells.
Declaration
public bool? IsItalic { get; set; }
Property Value
bool?
The IsItalic.
IsWrapped
Gets or sets the IsWrapped property of the cells.
Declaration
public bool? IsWrapped { get; set; }
Property Value
bool?
The IsWrapped.
UnderlineType
Gets or sets the UnderlineType of the text in the cells.
Declaration
public SpreadUnderlineType UnderlineType { get; set; }
Property Value
SpreadUnderlineType
The Underline.
VerticalAlignment
Gets or sets the vertical alignment.
Declaration
public SpreadVerticalAlignment VerticalAlignment { get; set; }
Property Value
SpreadVerticalAlignment
The VerticalAlignment.