New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the SpreadsheetDefaultCellStyleSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SpreadsheetDefaultCellStyleSettingsBuilder

Inheritance: objectSpreadsheetDefaultCellStyleSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public SpreadsheetDefaultCellStyleSettingsBuilder(SpreadsheetDefaultCellStyleSettings settings)
Parameters:settingsSpreadsheetDefaultCellStyleSettings

Methods

The background CSS color of the cell.

C#
public SpreadsheetDefaultCellStyleSettingsBuilder Background(string value)
Parameters:valuestring

The value that configures the background.

Returns:

SpreadsheetDefaultCellStyleSettingsBuilder

If set to true, sets the cell font to bold.

C#
public SpreadsheetDefaultCellStyleSettingsBuilder Bold(bool value)
Parameters:valuebool

The value that configures the bold.

Returns:

SpreadsheetDefaultCellStyleSettingsBuilder

The text CSS color of the cell.

C#
public SpreadsheetDefaultCellStyleSettingsBuilder Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

SpreadsheetDefaultCellStyleSettingsBuilder

The font family of the cell.

C#
public SpreadsheetDefaultCellStyleSettingsBuilder FontFamily(string value)
Parameters:valuestring

The value that configures the fontfamily.

Returns:

SpreadsheetDefaultCellStyleSettingsBuilder

The font size of the cell in pixels.

C#
public SpreadsheetDefaultCellStyleSettingsBuilder FontSize(string value)
Parameters:valuestring

The value that configures the fontsize.

Returns:

SpreadsheetDefaultCellStyleSettingsBuilder

If set to true, sets the cell font to italic.

C#
public SpreadsheetDefaultCellStyleSettingsBuilder Italic(bool value)
Parameters:valuebool

The value that configures the italic.

Returns:

SpreadsheetDefaultCellStyleSettingsBuilder

If set to true, sets the cell font to underline.

C#
public SpreadsheetDefaultCellStyleSettingsBuilder Underline(bool value)
Parameters:valuebool

The value that configures the underline.

Returns:

SpreadsheetDefaultCellStyleSettingsBuilder

If set to true, sets the cell wrap.

C#
public SpreadsheetDefaultCellStyleSettingsBuilder Wrap(bool value)
Parameters:valuebool

The value that configures the wrap.

Returns:

SpreadsheetDefaultCellStyleSettingsBuilder