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

Kendo UI SpreadsheetSheetRowCellValidationSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SpreadsheetSheetRowCellValidationSettings

Inheritance: objectSpreadsheetSheetRowCellValidationSettings

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

Constructors

C#
public SpreadsheetSheetRowCellValidationSettings()

Properties

Specifies whether to allow null values.

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

Defines the comparer type that is used to validate the cell value.

C#
public string ComparerType { get; set; }

Defines the data type of the cell value.The supported values are: date; text; number; list or custom.

C#
public string DataType { get; set; }

Defines a formula or a value that is used for the comparison process. Used as the only compare value if the comparer type does not require a second argument. Mandatory for validation to work.

C#
public string From { get; set; }

Defines the hint message that will be displayed if the value is invalid.The template provides access to the following variables: from{0}; to{1}; fromFormula{2}; toFormula{3}; dataType{4}; type{5} or comparerType{6}.

C#
public string MessageTemplate { get; set; }

The handler that returns the template used for MessageTemplate

C#
public string MessageTemplateHandler { get; set; }

The id of the script element used for MessageTemplate

C#
public string MessageTemplateId { get; set; }

A Boolean value which indicates if a button for selecting list items will be displayed (dataType set to list).

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

Spreadsheet member.

C#
public Spreadsheet Spreadsheet { get; set; }

Defines the hint title that will be displayed if the value is invalid.

C#
public string TitleTemplate { get; set; }

The handler that returns the template used for TitleTemplate

C#
public string TitleTemplateHandler { get; set; }

The id of the script element used for TitleTemplate

C#
public string TitleTemplateId { get; set; }

Defines a formula or a value that is used for the comparison process. Will be used if the comparer type requires a second argument.

C#
public string To { get; set; }

Defines the validation type.The supported options are: reject or warning (default).

C#
public string Type { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>