The DateTimePanel SmartItem is one of the preferred SmartItems for the SmartStatusBar SmartControl and is designed to be used as a panel that displays the date and time.
Although the DateTimePanel SmartItem is one of the SmartStatusBar's preferred SmartItems, it can also be used with any other SmartControl.
Preferred sibling SmartItems
The following table provides a list of the preferred sibling SmartItems:
Preferred sibling SmartItem | Description |
---|---|
CapsStatePanel SmartItem | Represents a SmartItem designed to be used as a panel that displays the state of the CAPS key for the SmartStatusBar SmartControl. |
InsStatePanel SmartItem | Represents a SmartItem designed to be used as a panel that displays the state of the Insert key for the SmartStatusBar SmartControl. |
NumStatePanel SmartItem | Represents a SmartItem designed to be used as a panel that displays the state of the NumLock key for the SmartStatusBar SmartControl. |
Panel SmartItem | Represents a SmartItem designed to be used as a panel/label for the SmartStatusBar SmartControl. |
ProgressPanel SmartItem | Represents a SmartItem designed to be used as a progress bar for the SmartStatusBar SmartControl. |
ScrollStatePanel SmartItem | Represents a SmartItem designed to be used as a panel that displays the state of the ScrollLock button for the SmartStatusBar SmartControl. |
SpringPanel SmartItem | Represents a SmartItem designed to be used as a spring panel for the SmartStatusBar SmartControl |
Things you should consider
-
Do you want to change the format used to display the date and time? Use the panel's Format property.
-
Do you want to prevent a SmartItem from being selected? Set its CanBeSelected property to false.