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