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

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:

C#
public class SpreadStreamCellStyle

Inheritance: objectSpreadStreamCellStyle

Constructors

Initializes a new instance of the SpreadStreamCellStyle class.

C#
public SpreadStreamCellStyle()

Initializes a new instance of the SpreadStreamCellStyle class.

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

Current excel cell.

backColorColor

BackColor of cell.

foregroundColor

ForeColor of cell.

fontFamilyFontFamily

FontFamily of cell.

fontSizedouble?

Font size of cell.

isBoldbool?

Is text bold.

isItalicbool?

Is text italic.

isWrappedbool?

Is text wrapped.

horizontalAlignmentSpreadHorizontalAlignment

Horizontal text alignment.

verticalAlignmentSpreadVerticalAlignment

Vertical text alignment.

underlineTypeSpreadUnderlineType

Is text underlined.

Properties

Gets or sets the fill of the excel cell.

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

The fill.

CellFormat

SpreadCellFormat

Gets or sets the cell format.

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

The cell format.

FontFamily

FontFamily

Gets or sets the font family of the excel cell.

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

The font family.

Gets or sets the font size of the text.

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

The FontSize.

Gets or sets the ForeColor of the excel cell.

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

The ForeColor.

HorizontalAlignment

SpreadHorizontalAlignment

Gets or sets the horizontal alignment.

C#
public SpreadHorizontalAlignment HorizontalAlignment { get; set; }
Property Value:

The HorizontalAlignment.

Gets or sets the IsBold property of the cells.

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

The IsBold.

Gets or sets the isItalic property of the cells.

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

The IsItalic.

Gets or sets the IsWrapped property of the cells.

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

The IsWrapped.

UnderlineType

SpreadUnderlineType

Gets or sets the UnderlineType of the text in the cells.

C#
public SpreadUnderlineType UnderlineType { get; set; }
Property Value:

The Underline.

VerticalAlignment

SpreadVerticalAlignment

Gets or sets the vertical alignment.

C#
public SpreadVerticalAlignment VerticalAlignment { get; set; }
Property Value:

The VerticalAlignment.