A wrapper class used to transform the Windows forms types to types compatible with the SpreadStreamProcessing needs
Definition
Namespace:Telerik.WinControls.Export
Assembly:TelerikExport.dll
Syntax:
public class SpreadStreamCellStyleInfo : ISpreadStreamExportCellStyleInfo
Inheritance: objectSpreadStreamCellStyleInfo
Implements:
Constructors
Initializes a new instance of the SpreadStreamCellStyleInfo class.
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, Color backColor, Color foreColor, FontFamily fontFamily, double fontSize, bool isBold, bool isItalic, bool underline, ContentAlignment textAlignment, bool textWrap, BorderBoxStyle borderBoxStyle, Color borderColor, Color borderTopColor, Color borderBottomColor, Color borderRightColor, Color borderLeftColor)
Current excel cell.
backColorColorBackColor of cell.
foreColorColorForeColor of cell.
fontFamilyFontFamilyFontFamily of cell.
fontSizedoubleFont size of cell.
isBoldboolIs text bold.
isItalicboolIs text italic.
underlineboolIs text underlined.
textAlignmentContentAlignmentText alignment.
textWrapboolIs text wrapped.
borderBoxStyleBorderBoxStyleBorder box style.
borderColorColorColor of border.
borderTopColorColorColor of top border.
borderBottomColorColorColor of bottom border.
borderRightColorColorColor of right border.
borderLeftColorColorColor of left border.
Initializes a new instance of the SpreadStreamCellStyleInfo class.
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, ISpreadStreamExportCellStyleInfo cellStyle)
The cell format.
cellStyleISpreadStreamExportCellStyleInfoThe cell style.
Initializes a new instance of the SpreadStreamCellStyleInfo class.
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, IWorkbookExporter workbook)
The cell format.
workbookIWorkbookExporterThe worksheet.
Properties
Gets or sets the fill of the excel cell.
public Color BackColor { get; set; }
The fill.
Implements:
Gets or sets the bottom border.
public object BottomBorder { get; set; }
The bottom border.
Implements:
Gets or sets the cell format.
public SpreadCellFormat CellFormat { get; set; }
The cell format.
Gets or sets the diagonal down border.
public object DiagonalDownBorder { get; set; }
The diagonal down border.
Implements:
Gets or sets the diagonal up border.
public object DiagonalUpBorder { get; set; }
The diagonal up border.
Implements:
Gets or sets the font family of the excel cell.
public FontFamily FontFamily { get; set; }
The font family.
Implements:
Gets or sets the size of the font of the excel cell.
public double FontSize { get; set; }
The size of the font in points (pt). It will be automatically converted to the Device Independent Pixels, when setting.
Implements:
Gets or sets the ForeColor of the excel cell.
public Color ForeColor { get; set; }
The ForeColor.
Implements:
Gets or sets a value indicating whether this text of the excel cell is bold.
public bool IsBold { get; set; }
true if the text of the excel cell is bold; otherwise, false.
Implements:
Gets or sets a value indicating whether the text of the excel cell is italic.
public bool IsItalic { get; set; }
true if the text of the excel cell is italic; otherwise, false.
Implements:
Gets or sets the left border.
public object LeftBorder { get; set; }
The left border.
Implements:
Gets or sets the number format.
public string NumberFormat { get; set; }
The number format.
Implements:
Gets or sets the right border.
public object RightBorder { get; set; }
The right border.
Implements:
Gets or sets the text alignment.
public ContentAlignment TextAlignment { get; set; }
The text alignment.
Implements:
Gets or sets a value indicating whether the text of the excel cell is wrapped.
public bool TextWrap { get; set; }
true if the text of the excel cell is wrapped; otherwise, false.
Implements:
Gets or sets the top border.
public object TopBorder { get; set; }
The top border.
Implements: