Edit this page

Kendo.Mvc.UI.Fluent.SpreadsheetSheetRowCellBuilder

Defines the fluent API for configuring the SpreadsheetSheetRowCell settings.

Methods

Background(System.String)

The background color of the cell.Many standard CSS formats are supported, but the canonical form is "#ccff00".

Parameters

value System.String

The value that configures the background.

Color(System.String)

The font color of the cell.Many standard CSS formats are supported, but the canonical form is "#ccff00".

Parameters

value System.String

The value that configures the color.

FontFamily(System.String)

The font family for the cell.

Parameters

value System.String

The value that configures the fontfamily.

FontSize(System.Double)

The font size of the cell in pixels.

Parameters

value System.Double

The value that configures the fontsize.

Italic(System.Boolean)

Sets the cell font to italic, if set to true.

Parameters

value System.Boolean

The value that configures the italic.

Bold(System.Boolean)

Sets the cell font to bold, if set to true.

Parameters

value System.Boolean

The value that configures the bold.

Enable(System.Boolean)

Disables the cell, if set to false.

Parameters

value System.Boolean

The value that configures the enable.

Format(System.String)

The format of the cell text.See Create or delete a custom number format on MS Office.

Parameters

value System.String

The value that configures the format.

Formula(System.String)

The cell formula without the leading equals sign, e.g. A1 * 10.

Parameters

value System.String

The value that configures the formula.

Index(System.Int32)

The zero-based index of the cell. Required to ensure correct positioning.

Parameters

value System.Int32

The value that configures the index.

Link(System.String)

The hyperlink (URL) of the cell.

Parameters

value System.String

The value that configures the link.

Underline(System.Boolean)

Sets the cell font to underline, if set to true.

Parameters

value System.Boolean

The value that configures the underline.

Validation(System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetSheetRowCellValidationSettingsBuilder>)

The validation rule applied to the cell.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetSheetRowCellValidationSettingsBuilder>

The action that configures the validation.

Wrap(System.Boolean)

Will wrap the cell content if set to true.

Parameters

value System.Boolean

The value that configures the wrap.

TextAlign(Kendo.Mvc.UI.SpreadsheetTextAlign)

Specifies the text alignment in the cell

Parameters

value Kendo.Mvc.UI.SpreadsheetTextAlign

The value that configures the textalign.

VerticalAlign(Kendo.Mvc.UI.SpreadsheetVerticalAlign)

Specifies the text vertical alignment in the cell

Parameters

value Kendo.Mvc.UI.SpreadsheetVerticalAlign

The value that configures the verticalalign.

Value(System.Object)

Configures the value for the cell

Parameters

value System.Object

The cell value.

BorderBottom(System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetBorderStyleBuilder>)

Configure bottom border.

Parameters

action System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetBorderStyleBuilder>

The value that configures the border.

BorderTop(System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetBorderStyleBuilder>)

Configure top border.

Parameters

action System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetBorderStyleBuilder>

The value that configures the border.

BorderLeft(System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetBorderStyleBuilder>)

Configure left border.

Parameters

action System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetBorderStyleBuilder>

The value that configures the border.

BorderRight(System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetBorderStyleBuilder>)

Configure right border.

Parameters

action System.Action<Kendo.Mvc.UI.Fluent.SpreadsheetBorderStyleBuilder>

The value that configures the border.