Class MaskEditValidationRuleBuilder
Used as lambda expresion to set values for ValidationRules property of MaskEdit HtmlHelper
Inheritance
System.Object
MaskEditValidationRuleBuilder
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 MaskEditValidationRuleBuilder
Constructors
MaskEditValidationRuleBuilder(MaskEdit)
Declaration
public MaskEditValidationRuleBuilder(MaskEdit maskedit)
Parameters
Type | Name | Description |
---|---|---|
MaskEdit | maskedit |
Methods
AddRule(String, Object)
Add jquery validation rule to the MaskEdit element
Declaration
public MaskEditValidationRuleBuilder AddRule(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |
Returns
Type | Description |
---|---|
MaskEditValidationRuleBuilder |