Skip to content

SystemTheme Property

Description

The SystemTheme property sets which system theme, if any, the Suite Controls 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 Suite Controls 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 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 Suite Controls can use the Olive theme while the OS is running the Blue theme, resulting in Olive-themed Suite Controls and Blue scroll bars, window border, and window caption.

See Also

Example

GetCurrentSystemTheme Sample


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.