DateTimePicker.PreviousYearName

Syntax

PreviousYearName: String;

Description

The PreviousYearName property sets the text of the tool-tip for the Previous year button.

Comments

The Previous year text is set by default.

Example

To execute the example, create the DateTimePicker component (see Example of Creating the DateTimePicker Component) named DTP. Use the PreviousYearName property in order to change the text of the tool-tip:

DTP.setPreviousYearName (Previous year);

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

Calendar: { PreviousYearName: Previous year }

See also:

DateTimePicker