Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class SpreadsheetSheetRowCell : JsonObject
Inheritance: objectJsonObjectSpreadsheetSheetRowCell
Inherited Members
Constructors
public SpreadsheetSheetRowCell()
Properties
The background color of the cell. Many standard CSS formats are supported. However, the canonical form is #ccff00.
public string Background { get; set; }
public SpreadsheetBorderStyle BorderBottom { get; set; }
public SpreadsheetBorderStyle BorderLeft { get; set; }
public SpreadsheetBorderStyle BorderRight { get; set; }
public SpreadsheetBorderStyle BorderTop { get; set; }
The font color of the cell. Many standard CSS formats are supported. However, the canonical form is #ccff00.
public string Color { get; set; }
The comment of the cell - a tooltip that appears when the cell is hovered.
public string Comment { get; set; }
The font family of the cell.
public string FontFamily { get; set; }
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 string Format { get; set; }
The cell formula without the leading equals sign, for example, A1 * 10.
public string Formula { get; set; }
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 bool? Html { get; set; }
The zero-based index of the cell. Required to ensure correct positioning.
public int? Index { get; set; }
Specifies the text alignment in the cell
public SpreadsheetTextAlign? TextAlign { get; set; }
If set to true, sets the cell font to underline.
public bool? Underline { get; set; }
The validation rule that is applied to the cell.
public SpreadsheetSheetRowCellValidationSettings Validation { get; set; }
Specifies the text vertical alignment in the cell
public SpreadsheetVerticalAlign? VerticalAlign { get; set; }
Methods
protected override void Serialize(IDictionary<string, object> json)
Overrides: