Defines the fluent API for configuring SpreadsheetSheetRowCell
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpreadsheetSheetRowCellBuilder
Inheritance: objectSpreadsheetSheetRowCellBuilder
Inherited Members
Constructors
SpreadsheetSheetRowCellBuilder method.
public SpreadsheetSheetRowCellBuilder(SpreadsheetSheetRowCell container)
Properties
Gets the settings being configured.
protected SpreadsheetSheetRowCell Container { get; }
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 for Background
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
If set to true, sets the cell font to bold.
public SpreadsheetSheetRowCellBuilder Bold(bool value)
The value for Bold
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
The style information for the bottom border of the cell.
public SpreadsheetSheetRowCellBuilder BorderBottom(Action<SpreadsheetSheetRowCellBorderBottomSettingsBuilder> configurator)
The SpreadsheetSheetRowCellBorderBottomSettingsBuilder for the borderbottom setting.
Returns:SpreadsheetSheetRowCellBuilder
Returns the current instance of SpreadsheetSheetRowCellBuilder .
The style information for the left border of the cell.
public SpreadsheetSheetRowCellBuilder BorderLeft(Action<SpreadsheetSheetRowCellBorderLeftSettingsBuilder> configurator)
The SpreadsheetSheetRowCellBorderLeftSettingsBuilder for the borderleft setting.
Returns:SpreadsheetSheetRowCellBuilder
Returns the current instance of SpreadsheetSheetRowCellBuilder .
The style information for the right border of the cell.
public SpreadsheetSheetRowCellBuilder BorderRight(Action<SpreadsheetSheetRowCellBorderRightSettingsBuilder> configurator)
The SpreadsheetSheetRowCellBorderRightSettingsBuilder for the borderright setting.
Returns:SpreadsheetSheetRowCellBuilder
Returns the current instance of SpreadsheetSheetRowCellBuilder .
The style information for the top border of the cell.
public SpreadsheetSheetRowCellBuilder BorderTop(Action<SpreadsheetSheetRowCellBorderTopSettingsBuilder> configurator)
The SpreadsheetSheetRowCellBorderTopSettingsBuilder for the bordertop setting.
Returns:SpreadsheetSheetRowCellBuilder
Returns the current instance of SpreadsheetSheetRowCellBuilder .
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 for Color
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
The comment of the cell - a tooltip that appears when the cell is hovered.
public SpreadsheetSheetRowCellBuilder Comment(string value)
The value for Comment
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
If set to false, disables the cell.
public SpreadsheetSheetRowCellBuilder Enable(bool value)
The value for Enable
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
The font family of the cell.
public SpreadsheetSheetRowCellBuilder FontFamily(string value)
The value for FontFamily
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
The font size of the cell in pixels.
public SpreadsheetSheetRowCellBuilder FontSize(double value)
The value for FontSize
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
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 for Format
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
The cell formula without the leading equals sign, for example, A1 * 10.
public SpreadsheetSheetRowCellBuilder Formula(string value)
The value for Formula
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
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 for Html
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
The zero-based index of the cell. Required to ensure correct positioning.
public SpreadsheetSheetRowCellBuilder Index(int value)
The value for Index
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
If set to true, sets the cell font to italic.
public SpreadsheetSheetRowCellBuilder Italic(bool value)
The value for Italic
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
The hyperlink (URL) of the cell.
public SpreadsheetSheetRowCellBuilder Link(string value)
The value for Link
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
Specifies the text alignment in the cell
public SpreadsheetSheetRowCellBuilder TextAlign(SpreadsheetTextAlign value)
The value for TextAlign
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
If set to true, sets the cell font to underline.
public SpreadsheetSheetRowCellBuilder Underline(bool value)
The value for Underline
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
The validation rule that is applied to the cell.
public SpreadsheetSheetRowCellBuilder Validation(Action<SpreadsheetSheetRowCellValidationSettingsBuilder> configurator)
The SpreadsheetSheetRowCellValidationSettingsBuilder for the validation setting.
Returns:SpreadsheetSheetRowCellBuilder
Returns the current instance of SpreadsheetSheetRowCellBuilder .
The cell value.
public SpreadsheetSheetRowCellBuilder Value(object value)
The value for Value
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
Specifies the text vertical alignment in the cell
public SpreadsheetSheetRowCellBuilder VerticalAlign(SpreadsheetVerticalAlign value)
The value for VerticalAlign
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.
If set to true, wraps the cell content.
public SpreadsheetSheetRowCellBuilder Wrap(bool value)
The value for Wrap
Returns:SpreadsheetSheetRowCellBuilder
Returns the current SpreadsheetSheetRowCellBuilder instance.