SpreadsheetSheetRowCellBuilder

Methods

Background(System.String)

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

Parameters

value - System.String

The value for Background

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

BorderBottom(System.Action)

The style information for the bottom border of the cell.

Parameters

configurator - System.Action<SpreadsheetSheetRowCellBorderBottomSettingsBuilder>

The configurator for the borderbottom setting.

RETURNS

Returns the current instance of SpreadsheetSheetRowCellBuilder .

BorderLeft(System.Action)

The style information for the left border of the cell.

Parameters

configurator - System.Action<SpreadsheetSheetRowCellBorderLeftSettingsBuilder>

The configurator for the borderleft setting.

RETURNS

Returns the current instance of SpreadsheetSheetRowCellBuilder .

BorderTop(System.Action)

The style information for the top border of the cell.

Parameters

configurator - System.Action<SpreadsheetSheetRowCellBorderTopSettingsBuilder>

The configurator for the bordertop setting.

RETURNS

Returns the current instance of SpreadsheetSheetRowCellBuilder .

BorderRight(System.Action)

The style information for the right border of the cell.

Parameters

configurator - System.Action<SpreadsheetSheetRowCellBorderRightSettingsBuilder>

The configurator for the borderright setting.

RETURNS

Returns the current instance of SpreadsheetSheetRowCellBuilder .

Color(System.String)

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

Parameters

value - System.String

The value for Color

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Comment(System.String)

The comment of the cell - a tooltip that appears when the cell is hovered.

Parameters

value - System.String

The value for Comment

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

FontFamily(System.String)

The font family of the cell.

Parameters

value - System.String

The value for FontFamily

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

FontSize(System.Double)

The font size of the cell in pixels.

Parameters

value - System.Double

The value for FontSize

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Italic(System.Boolean)

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

Parameters

value - System.Boolean

The value for Italic

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Bold(System.Boolean)

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

Parameters

value - System.Boolean

The value for Bold

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Enable(System.Boolean)

If set to false, disables the cell.

Parameters

value - System.Boolean

The value for Enable

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Format(System.String)

The format of the cell text. For more information, refer to the article on creating or deleting a custom number format on MS Office.

Parameters

value - System.String

The value for Format

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Formula(System.String)

The cell formula without the leading equals sign, for example, A1 * 10.

Parameters

value - System.String

The value for Formula

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Html(System.Boolean)

If set to true, renders the cell value as HTML. It is important to sanitize the value of the cell on the server for passing safe html because there is no client-side sanitizing. When editing a cell the new value can be checked and prevented in the client changing event.

Parameters

value - System.Boolean

The value for Html

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Index(System.Int32)

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

Parameters

value - System.Int32

The value for Index

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Link(System.String)

The hyperlink (URL) of the cell.

Parameters

value - System.String

The value for Link

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Underline(System.Boolean)

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

Parameters

value - System.Boolean

The value for Underline

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Value(System.Object)

The cell value.

Parameters

value - System.Object

The value for Value

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

Validation(System.Action)

The validation rule that is applied to the cell.

Parameters

configurator - System.Action<SpreadsheetSheetRowCellValidationSettingsBuilder>

The configurator for the validation setting.

RETURNS

Returns the current instance of SpreadsheetSheetRowCellBuilder .

Wrap(System.Boolean)

If set to true, wraps the cell content.

Parameters

value - System.Boolean

The value for Wrap

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

TextAlign(Kendo.Mvc.UI.SpreadsheetTextAlign)

Specifies the text alignment in the cell

Parameters

value - SpreadsheetTextAlign

The value for TextAlign

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.

VerticalAlign(Kendo.Mvc.UI.SpreadsheetVerticalAlign)

Specifies the text vertical alignment in the cell

Parameters

value - SpreadsheetVerticalAlign

The value for VerticalAlign

RETURNS

Returns the current SpreadsheetSheetRowCellBuilder instance.