DateTimePicker.TextAfterYear

Syntax

TextAfterYear: String

Description

The TextAfterYear property sets text to be shown in the entry box after year value.

Comments

Text is not set by default.

Example

To execute the example, create the DateTimePicker component (see Example of Creating the DateTimePicker Component) named DTP. Use the TextAfterYear property in order to change the text in the input box after the year value:

DTP.setTextAfterYear(year);

It is possible to set the property value by the JSON object in the following way:

DateTimeEdit: {TextAfterYear:  year}

See also:

DateTimePicker