SystemTheme Property
Description
The SystemTheme property sets which system theme, if any, the GridControl control will use.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SystemTheme() As [XTPCurrentSystemTheme](XtremeCalendarControl~Enumerations~XTPCurrentSystemTheme_EN.md)
Remarks
SystemTheme is called to force a system theme.
The Grid Control can be forced to use one of the following themes:
- xtpSystemThemeUnknown - No known theme in use
- xtpSystemThemeBlue - Blue theme in use
- xtpSystemThemeOlive - Olive theme in use
- xtpSystemThemeSilver - Silver theme in use
- xtpSystemThemeAuto - Default value. Will use the current Operating System setting to theme.
It is not recommended to use SystemTheme to force the Blue, Olive, and Silver themes. Some parts of the application, such as border, caption, and scroll bar color, cannot be changed. For example, the Grid Control can use the Olive theme while the OS is running the Blue theme, resulting in an Olive themed Grid Control and Blue scroll bars, window border, and window caption.
See Also
Example
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.