Class CheckboxValidationRuleBuilder
Inheritance
System.Object
CheckboxValidationRuleBuilder
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 CheckboxValidationRuleBuilder
Constructors
CheckboxValidationRuleBuilder(CheckBox)
Initializes a new instance of the CheckboxValidationRuleBuilder class by the specified checkbox object.
Declaration
public CheckboxValidationRuleBuilder(CheckBox checkbox)
Parameters
Type | Name | Description |
---|---|---|
CheckBox | checkbox |
Methods
AddRule(String, Object)
Specifies to add the rule for validation.
Declaration
public CheckboxValidationRuleBuilder AddRule(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |
Returns
Type | Description |
---|---|
CheckboxValidationRuleBuilder |