Defines the fluent API for configuring SpreadsheetDefaultCellStyleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpreadsheetDefaultCellStyleSettingsBuilder
Inheritance: objectSpreadsheetDefaultCellStyleSettingsBuilder
Inherited Members
Constructors
SpreadsheetDefaultCellStyleSettingsBuilder method.
public SpreadsheetDefaultCellStyleSettingsBuilder(SpreadsheetDefaultCellStyleSettings container)
Properties
Gets the settings being configured.
protected SpreadsheetDefaultCellStyleSettings Container { get; }
Methods
The background CSS color of the cell.
public SpreadsheetDefaultCellStyleSettingsBuilder Background(string value)
The value for Background
Returns:SpreadsheetDefaultCellStyleSettingsBuilder
Returns the current SpreadsheetDefaultCellStyleSettingsBuilder instance.
If set to true, sets the cell font to bold.
public SpreadsheetDefaultCellStyleSettingsBuilder Bold(bool value)
The value for Bold
Returns:SpreadsheetDefaultCellStyleSettingsBuilder
Returns the current SpreadsheetDefaultCellStyleSettingsBuilder instance.
The text CSS color of the cell.
public SpreadsheetDefaultCellStyleSettingsBuilder Color(string value)
The value for Color
Returns:SpreadsheetDefaultCellStyleSettingsBuilder
Returns the current SpreadsheetDefaultCellStyleSettingsBuilder instance.
The font family of the cell.
public SpreadsheetDefaultCellStyleSettingsBuilder FontFamily(string value)
The value for FontFamily
Returns:SpreadsheetDefaultCellStyleSettingsBuilder
Returns the current SpreadsheetDefaultCellStyleSettingsBuilder instance.
The font size of the cell in pixels.
public SpreadsheetDefaultCellStyleSettingsBuilder FontSize(string value)
The value for FontSize
Returns:SpreadsheetDefaultCellStyleSettingsBuilder
Returns the current SpreadsheetDefaultCellStyleSettingsBuilder instance.
If set to true, sets the cell font to italic.
public SpreadsheetDefaultCellStyleSettingsBuilder Italic(bool value)
The value for Italic
Returns:SpreadsheetDefaultCellStyleSettingsBuilder
Returns the current SpreadsheetDefaultCellStyleSettingsBuilder instance.
If set to true, sets the cell font to underline.
public SpreadsheetDefaultCellStyleSettingsBuilder Underline(bool value)
The value for Underline
Returns:SpreadsheetDefaultCellStyleSettingsBuilder
Returns the current SpreadsheetDefaultCellStyleSettingsBuilder instance.
If set to true, sets the cell wrap.
public SpreadsheetDefaultCellStyleSettingsBuilder Wrap(bool value)
The value for Wrap
Returns:SpreadsheetDefaultCellStyleSettingsBuilder
Returns the current SpreadsheetDefaultCellStyleSettingsBuilder instance.