<DateTimePicker> controls are used to create a date and time picker.
Please note that the date format depends on the language of the used browser (e.g. German: 31.3.2025 / US English: 03/31/2025).
The following additional attributes can be defined for the <DateTimePicker> element:
|
Attribute |
Description |
|---|---|
|
|
Value that is displayed and saved.
Possible values:
|
|
|
Format in which the time is displayed and stored. Possible values:
|
|
|
Defines the background color of the control.
Possible values:
|
|
|
Control title.
Possible values: Any string |
|
|
Defines whether the user can interact with the control.
Possible values: The attribute
|
|
|
Defines the font family.
Possible values:
|
|
|
Defines the font size.
Possible values:
|
|
|
Defines the width of each character. This attribute overrides the default width of the characters for this control. Possible values:
This attribute does not work for the elements
|
|
|
Defines the font style. This attribute overrides the default font style for this control. Possible values:
This attribute does not work for the elements
|
|
|
Defines the font weight. This attribute overrides the default font weight for this control. Possible values:
This attribute does not work for the
|
|
|
Defines a colour for the foreground (texts etc.) of the control.
Possible values:
|
|
|
Direction in which the elements flow. The order of the elements corresponds to their declaration. Possible values:
|
|
|
Specifies what should happen when the control is full. Possible values:
|
|
|
Defines whether the control is visible.
Possible values: |