- 2 minutes to read
This article gathers behaviors that force their target controls to display various kinds of system information.
The clock behavior displays system date and/or time within the target control.
- Offset - specifies the amount of hours, minutes and seconds that should be added to (subtracted from) the current system time. Negative offset values increase the displayed time, while positive offset values decrease it. Use this option to display time from time zones outside end-users’ local ones.
ShowMode - allows you to select whether or not both date and time values should be displayed. You can also select whether these two data portions should be arranged one below the other or side-by-side. Note that for digital gauge date and time values are always arranged in a single line.
- DateOptions - exposes properties that store the fore color, font settings and format string for the displayed date portion.
- TimeOptions - exposes properties that store the fore color, font settings and format string for the displayed time portion.
Keyboard Indicator Behavior
This behavior allows a target control to alert end-users if the specific system key (Caps Lock, Scroll Lock, Num Lock) is currently pressed.
- Key - allows you to select the keyboard key whose state will be tracked.
- LockedText - a text string that will be displayed by a target control if the tracked system key is pressed.
- UnlockedText - a text string that will be displayed by a target control if the tracked system key is not pressed.