Defines the fluent API for configuring the SpreadsheetSheetRowCell settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpreadsheetSheetRowCellBuilder
Inheritance: objectSpreadsheetSheetRowCellBuilder
Inherited Members
Constructors
public SpreadsheetSheetRowCellBuilder(SpreadsheetSheetRowCell settings)
Methods
The background color of the cell. Many standard CSS formats are supported. However, the canonical form is #ccff00.
public SpreadsheetSheetRowCellBuilder Background(string value)
The value that configures the background.
Returns:If set to true, sets the cell font to bold.
public SpreadsheetSheetRowCellBuilder Bold(bool value)
The value that configures the bold.
Returns:Configure bottom border.
public SpreadsheetSheetRowCellBuilder BorderBottom(Action<SpreadsheetBorderStyleBuilder> action)
The value that configures the border.
Returns:Configure left border.
public SpreadsheetSheetRowCellBuilder BorderLeft(Action<SpreadsheetBorderStyleBuilder> action)
The value that configures the border.
Returns:Configure right border.
public SpreadsheetSheetRowCellBuilder BorderRight(Action<SpreadsheetBorderStyleBuilder> action)
The value that configures the border.
Returns:Configure top border.
public SpreadsheetSheetRowCellBuilder BorderTop(Action<SpreadsheetBorderStyleBuilder> action)
The value that configures the border.
Returns:The font color of the cell. Many standard CSS formats are supported. However, the canonical form is #ccff00.
public SpreadsheetSheetRowCellBuilder Color(string value)
The value that configures the color.
Returns:The comment of the cell - a tooltip that appears when the cell is hovered.
public SpreadsheetSheetRowCellBuilder Comment(string value)
The value that configures the comment.
Returns:If set to false, disables the cell.
public SpreadsheetSheetRowCellBuilder Enable(bool value)
The value that configures the enable.
Returns:The font family of the cell.
public SpreadsheetSheetRowCellBuilder FontFamily(string value)
The value that configures the fontfamily.
Returns:The font size of the cell in pixels.
public SpreadsheetSheetRowCellBuilder FontSize(double value)
The value that configures the fontsize.
Returns:The format of the cell text. For more information, refer to the article on creating or deleting a custom number format on MS Office.
public SpreadsheetSheetRowCellBuilder Format(string value)
The value that configures the format.
Returns:The cell formula without the leading equals sign, for example, A1 * 10.
public SpreadsheetSheetRowCellBuilder Formula(string value)
The value that configures the formula.
Returns: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.
public SpreadsheetSheetRowCellBuilder Html(bool value)
The value that configures the html.
Returns:The zero-based index of the cell. Required to ensure correct positioning.
public SpreadsheetSheetRowCellBuilder Index(int value)
The value that configures the index.
Returns:If set to true, sets the cell font to italic.
public SpreadsheetSheetRowCellBuilder Italic(bool value)
The value that configures the italic.
Returns:The hyperlink (URL) of the cell.
public SpreadsheetSheetRowCellBuilder Link(string value)
The value that configures the link.
Returns:Specifies the text alignment in the cell
public SpreadsheetSheetRowCellBuilder TextAlign(SpreadsheetTextAlign value)
The value that configures the textalign.
Returns:If set to true, sets the cell font to underline.
public SpreadsheetSheetRowCellBuilder Underline(bool value)
The value that configures the underline.
Returns:The validation rule that is applied to the cell.
public SpreadsheetSheetRowCellBuilder Validation(Action<SpreadsheetSheetRowCellValidationSettingsBuilder> configurator)
The action that configures the validation.
Returns:Configures the value for the cell
public SpreadsheetSheetRowCellBuilder Value(object value)
The cell value.
Returns:Specifies the text vertical alignment in the cell
public SpreadsheetSheetRowCellBuilder VerticalAlign(SpreadsheetVerticalAlign value)
The value that configures the verticalalign.
Returns:If set to true, wraps the cell content.
public SpreadsheetSheetRowCellBuilder Wrap(bool value)
The value that configures the wrap.
Returns: