New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SpreadsheetSheetRowCell : JsonObject

Inheritance: objectJsonObjectSpreadsheetSheetRowCell

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public SpreadsheetSheetRowCell()

Properties

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

C#
public string Background { get; set; }

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

C#
public bool? Bold { get; set; }
C#
public SpreadsheetBorderStyle BorderBottom { get; set; }
C#
public SpreadsheetBorderStyle BorderLeft { get; set; }
C#
public SpreadsheetBorderStyle BorderRight { get; set; }
C#
public SpreadsheetBorderStyle BorderTop { get; set; }

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

C#
public string Color { get; set; }

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

C#
public string Comment { get; set; }

If set to false, disables the cell.

C#
public bool? Enable { get; set; }

The font family of the cell.

C#
public string FontFamily { get; set; }

The font size of the cell in pixels.

C#
public double? FontSize { 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.

C#
public string Format { get; set; }

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

C#
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.

C#
public bool? Html { get; set; }

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

C#
public int? Index { get; set; }

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

C#
public bool? Italic { get; set; }

The hyperlink (URL) of the cell.

C#
public string Link { get; set; }

Specifies the text alignment in the cell

C#
public SpreadsheetTextAlign? TextAlign { get; set; }

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

C#
public bool? Underline { get; set; }

The validation rule that is applied to the cell.

C#
public SpreadsheetSheetRowCellValidationSettings Validation { get; set; }
C#
public object Value { get; set; }

Specifies the text vertical alignment in the cell

C#
public SpreadsheetVerticalAlign? VerticalAlign { get; set; }

If set to true, wraps the cell content.

C#
public bool? Wrap { get; set; }

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)