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