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