New to Telerik UI for WinFormsStart a free 30-day trial

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:

C#
public class SpreadStreamCellStyleInfo : ISpreadStreamExportCellStyleInfo

Inheritance: objectSpreadStreamCellStyleInfo

Implements: ISpreadStreamExportCellStyleInfo

Constructors

Initializes a new instance of the SpreadStreamCellStyleInfo class.

C#
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)
Parameters:cellFormatSpreadCellFormat

Current excel cell.

backColorColor

BackColor of cell.

foreColorColor

ForeColor of cell.

fontFamilyFontFamily

FontFamily of cell.

fontSizedouble

Font size of cell.

isBoldbool

Is text bold.

isItalicbool

Is text italic.

underlinebool

Is text underlined.

textAlignmentContentAlignment

Text alignment.

textWrapbool

Is text wrapped.

borderBoxStyleBorderBoxStyle

Border box style.

borderColorColor

Color of border.

borderTopColorColor

Color of top border.

borderBottomColorColor

Color of bottom border.

borderRightColorColor

Color of right border.

borderLeftColorColor

Color of left border.

Initializes a new instance of the SpreadStreamCellStyleInfo class.

C#
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, ISpreadStreamExportCellStyleInfo cellStyle)
Parameters:cellFormatSpreadCellFormat

The cell format.

cellStyleISpreadStreamExportCellStyleInfo

The cell style.

Initializes a new instance of the SpreadStreamCellStyleInfo class.

C#
public SpreadStreamCellStyleInfo(SpreadCellFormat cellFormat, IWorkbookExporter workbook)
Parameters:cellFormatSpreadCellFormat

The cell format.

workbookIWorkbookExporter

The worksheet.

Properties

Gets or sets the fill of the excel cell.

C#
public Color BackColor { get; set; }
Property Value:

The fill.

Implements: ISpreadStreamExportCellStyleInfo.BackColor

Gets or sets the bottom border.

C#
public object BottomBorder { get; set; }
Property Value:

The bottom border.

Implements: ISpreadStreamExportCellStyleInfo.BottomBorder

Gets or sets the cell format.

C#
public SpreadCellFormat CellFormat { get; set; }
Property Value:

The cell format.

Gets or sets the diagonal down border.

C#
public object DiagonalDownBorder { get; set; }
Property Value:

The diagonal down border.

Implements: ISpreadStreamExportCellStyleInfo.DiagonalDownBorder

Gets or sets the diagonal up border.

C#
public object DiagonalUpBorder { get; set; }
Property Value:

The diagonal up border.

Implements: ISpreadStreamExportCellStyleInfo.DiagonalUpBorder

Gets or sets the font family of the excel cell.

C#
public FontFamily FontFamily { get; set; }
Property Value:

The font family.

Implements: ISpreadStreamExportCellStyleInfo.FontFamily

Gets or sets the size of the font of the excel cell.

C#
public double FontSize { get; set; }
Property Value:

The size of the font in points (pt). It will be automatically converted to the Device Independent Pixels, when setting.

Implements: ISpreadStreamExportCellStyleInfo.FontSize

Gets or sets the ForeColor of the excel cell.

C#
public Color ForeColor { get; set; }
Property Value:

The ForeColor.

Implements: ISpreadStreamExportCellStyleInfo.ForeColor

Gets or sets a value indicating whether this text of the excel cell is bold.

C#
public bool IsBold { get; set; }
Property Value:

true if the text of the excel cell is bold; otherwise, false.

Implements: ISpreadStreamExportCellStyleInfo.IsBold

Gets or sets a value indicating whether the text of the excel cell is italic.

C#
public bool IsItalic { get; set; }
Property Value:

true if the text of the excel cell is italic; otherwise, false.

Implements: ISpreadStreamExportCellStyleInfo.IsItalic

Gets or sets the left border.

C#
public object LeftBorder { get; set; }
Property Value:

The left border.

Implements: ISpreadStreamExportCellStyleInfo.LeftBorder

Gets or sets the number format.

C#
public string NumberFormat { get; set; }
Property Value:

The number format.

Implements: ISpreadStreamExportCellStyleInfo.NumberFormat

Gets or sets the right border.

C#
public object RightBorder { get; set; }
Property Value:

The right border.

Implements: ISpreadStreamExportCellStyleInfo.RightBorder

Gets or sets the text alignment.

C#
public ContentAlignment TextAlignment { get; set; }
Property Value:

The text alignment.

Implements: ISpreadStreamExportCellStyleInfo.TextAlignment

Gets or sets a value indicating whether the text of the excel cell is wrapped.

C#
public bool TextWrap { get; set; }
Property Value:

true if the text of the excel cell is wrapped; otherwise, false.

Implements: ISpreadStreamExportCellStyleInfo.TextWrap

Gets or sets the top border.

C#
public object TopBorder { get; set; }
Property Value:

The top border.

Implements: ISpreadStreamExportCellStyleInfo.TopBorder

Gets or sets whether the text of the excel cell is underline.

C#
public bool Underline { get; set; }
Property Value:

The underline type.

Implements: ISpreadStreamExportCellStyleInfo.Underline