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