Class EditorValidationRuleBuilder
Used as lambda expresion to set values for ValidationRules property of Editor HtmlHelper
Inheritance
System.Object
EditorValidationRuleBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class EditorValidationRuleBuilder
Constructors
EditorValidationRuleBuilder(Numeric)
Declaration
public EditorValidationRuleBuilder(Numeric numeric)
Parameters
Type | Name | Description |
---|---|---|
Numeric | numeric |
Methods
AddRule(String, Object)
Add jquery validation rule to the Editor element
Declaration
public EditorValidationRuleBuilder AddRule(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |
Returns
Type | Description |
---|---|
EditorValidationRuleBuilder |