Click or drag to resize
CellStyleCollectionAdd Method
Adds the specified style.

Namespace: Telerik.Windows.Documents.Spreadsheet.PropertySystem
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2017.3.1010.40 (2017.3.1010.40)
Syntax
public CellStyle Add(
	string styleName,
	CellStyleCategory category = CellStyleCategory.Custom,
	bool isRemovable = true
)

Parameters

styleName
Type: SystemString
Name of the style.
category (Optional)
Type: Telerik.Windows.Documents.Spreadsheet.PropertySystemCellStyleCategory
The category.
isRemovable (Optional)
Type: SystemBoolean
A value indicating if the style can be removed later.

Return Value

Type: CellStyle
The style.
See Also