Class
SpreadCellStyle

Reusable named cell style aggregating formatting settings (borders, fill, font, number format, alignment, protection) for consistent reuse.

Definition

Namespace:Telerik.Documents.SpreadsheetStreaming

Assembly:Telerik.Documents.SpreadsheetStreaming.dll

Syntax:

cs-api-definition
public class SpreadCellStyle : SpreadCellFormatBase

Inheritance: objectSpreadCellFormatBaseSpreadCellStyle

Inherited Members SpreadCellFormatBase.LeftBorderSpreadCellFormatBase.RightBorderSpreadCellFormatBase.TopBorderSpreadCellFormatBase.BottomBorderSpreadCellFormatBase.DiagonalUpBorderSpreadCellFormatBase.DiagonalDownBorderSpreadCellFormatBase.FillSpreadCellFormatBase.NumberFormatSpreadCellFormatBase.FontSizeSpreadCellFormatBase.ForeColorSpreadCellFormatBase.IsBoldSpreadCellFormatBase.IsItalicSpreadCellFormatBase.UnderlineSpreadCellFormatBase.FontFamilySpreadCellFormatBase.HorizontalAlignmentSpreadCellFormatBase.VerticalAlignmentSpreadCellFormatBase.IndentSpreadCellFormatBase.WrapText

Properties

ApplyAlignment

Indicates whether alignment settings of this style are applied when the style is used.

Declaration

cs-api-definition
public bool ApplyAlignment { get; set; }

Property Value

bool

True if the alignment properties should be applied; otherwise, false.

ApplyBorder

Indicates whether border properties of this style are applied when the style is used.

Declaration

cs-api-definition
public bool ApplyBorder { get; set; }

Property Value

bool

True if the border properties should be applied; otherwise, false.

ApplyFill

Indicates whether the fill of this style is applied when the style is used.

Declaration

cs-api-definition
public bool ApplyFill { get; set; }

Property Value

bool

True if the fill property should be applied; otherwise, false.

ApplyFont

Indicates whether font properties of this style are applied when the style is used.

Declaration

cs-api-definition
public bool ApplyFont { get; set; }

Property Value

bool

True if the font properties should be applied; otherwise, false.

ApplyNumberFormat

Indicates whether the number format of this style is applied when the style is used.

Declaration

cs-api-definition
public bool ApplyNumberFormat { get; set; }

Property Value

bool

True if the number format property should be applied; otherwise, false.

ApplyProtection

Indicates whether protection settings of this style are applied when the style is used.

Declaration

cs-api-definition
public bool ApplyProtection { get; set; }

Property Value

bool

True if the protection property should be applied; otherwise, false.

Name

Style display name used for lookup in the collection.

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

The name of the cell style.