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
Initializes a new instance of the SpreadStreamCellStyle class.
public SpreadStreamCellStyle()
Initializes a new instance of the SpreadStreamCellStyle class.
public SpreadStreamCellStyle(SpreadCellFormat cellFormat, Color backColor, Color foreground, FontFamily fontFamily, double? fontSize, bool? isBold, bool? isItalic, bool? isWrapped, SpreadHorizontalAlignment horizontalAlignment, SpreadVerticalAlignment verticalAlignment, SpreadUnderlineType underlineType)
Current excel cell.
backColorColorBackColor of cell.
foregroundColorForeColor of cell.
fontFamilyFontFamilyFontFamily of cell.
fontSizedouble?Font size of cell.
isBoldbool?Is text bold.
isItalicbool?Is text italic.
isWrappedbool?Is text wrapped.
horizontalAlignmentSpreadHorizontalAlignmentHorizontal text alignment.
verticalAlignmentSpreadVerticalAlignmentVertical text alignment.
underlineTypeSpreadUnderlineTypeIs text underlined.
Properties
Background
Color
Gets or sets the fill of the excel cell.
public Color Background { get; set; }
The fill.
CellFormat
SpreadCellFormat
Gets or sets the cell format.
public SpreadCellFormat CellFormat { get; set; }
The cell format.
FontFamily
FontFamily
Gets or sets the font family of the excel cell.
public FontFamily FontFamily { get; set; }
The font family.
Gets or sets the font size of the text.
public double? FontSize { get; set; }
The FontSize.
Foreground
Color
Gets or sets the ForeColor of the excel cell.
public Color Foreground { get; set; }
The ForeColor.
HorizontalAlignment
SpreadHorizontalAlignment
Gets or sets the horizontal alignment.
public SpreadHorizontalAlignment HorizontalAlignment { get; set; }
The HorizontalAlignment.
Gets or sets the IsBold property of the cells.
public bool? IsBold { get; set; }
The IsBold.
Gets or sets the isItalic property of the cells.
public bool? IsItalic { get; set; }
The IsItalic.
Gets or sets the IsWrapped property of the cells.
public bool? IsWrapped { get; set; }
The IsWrapped.
UnderlineType
SpreadUnderlineType
Gets or sets the UnderlineType of the text in the cells.
public SpreadUnderlineType UnderlineType { get; set; }
The Underline.
VerticalAlignment
SpreadVerticalAlignment
Gets or sets the vertical alignment.
public SpreadVerticalAlignment VerticalAlignment { get; set; }
The VerticalAlignment.