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