VideoOS.Platform.Client.Theme Class Reference

Contains a set of Colors to describe the current selected Theme.
The ThemeType can be used for further selecting matching icons or buttons.
For simply applying these colors to your UserControl, use the ClientControl.Instance.RegisterUIControlForAutoTheming( userControl ), where the userControl should be the main part of your ViewItem. The titlebar can afterwards be updated depending on the selection state with the 4 properties starting with the letters 'ViewItem'.
Notice that side panels, property panel and option configuration panels are automatically themed. More...

Public Member Functions

 Theme ()
 This class is constructed by the Smart Client.
 

Properties

virtual Color BackgroundColor [get]
 Background color for all controls.
 
virtual Color BorderColor [get]
 Color for border lines and group box lines.
 
virtual Color GradientStartColor [get]
 
virtual Color GradientStopColor [get]
 
virtual Color SeparatorLinesColor [get]
 
virtual Color TextColor [get]
 
virtual ThemeType ThemeType [get, set]
 Gets or sets the current Smart Client theme.
 
virtual Color TitleBarGradientStartColor [get]
 
virtual Color TitleBarGradientStopColor [get]
 
virtual Color TitleBarTextColor [get]
 
virtual Color ViewItemHeaderColor [get]
 The header colors do not change during theming, use BackgroundColor if you want to follow theme.
 
virtual Color ViewItemHeaderTextColor [get]
 The header colors do not change during theming, use TextColor if you want to follow theme.
 
virtual Color ViewItemSelectedHeaderColor [get]
 The header colors do not change during theming, use BackgroundColor if you want to follow theme.
 
virtual Color ViewItemSelectedHeaderTextColor [get]
 The header colors do not change during theming, use TextColor if you want to follow theme.
 

Detailed Description

Contains a set of Colors to describe the current selected Theme.
The ThemeType can be used for further selecting matching icons or buttons.
For simply applying these colors to your UserControl, use the ClientControl.Instance.RegisterUIControlForAutoTheming( userControl ), where the userControl should be the main part of your ViewItem. The titlebar can afterwards be updated depending on the selection state with the 4 properties starting with the letters 'ViewItem'.
Notice that side panels, property panel and option configuration panels are automatically themed.

Constructor & Destructor Documentation

◆ Theme()

VideoOS.Platform.Client.Theme.Theme ( )
inline

This class is constructed by the Smart Client.

Property Documentation

◆ BackgroundColor

virtual Color VideoOS.Platform.Client.Theme.BackgroundColor
get

Background color for all controls.

◆ BorderColor

virtual Color VideoOS.Platform.Client.Theme.BorderColor
get

Color for border lines and group box lines.

◆ GradientStartColor

virtual Color VideoOS.Platform.Client.Theme.GradientStartColor
get

◆ GradientStopColor

virtual Color VideoOS.Platform.Client.Theme.GradientStopColor
get

◆ SeparatorLinesColor

virtual Color VideoOS.Platform.Client.Theme.SeparatorLinesColor
get

◆ TextColor

virtual Color VideoOS.Platform.Client.Theme.TextColor
get

◆ ThemeType

virtual ThemeType VideoOS.Platform.Client.Theme.ThemeType
getset

Gets or sets the current Smart Client theme.

◆ TitleBarGradientStartColor

virtual Color VideoOS.Platform.Client.Theme.TitleBarGradientStartColor
get

◆ TitleBarGradientStopColor

virtual Color VideoOS.Platform.Client.Theme.TitleBarGradientStopColor
get

◆ TitleBarTextColor

virtual Color VideoOS.Platform.Client.Theme.TitleBarTextColor
get

◆ ViewItemHeaderColor

virtual Color VideoOS.Platform.Client.Theme.ViewItemHeaderColor
get

The header colors do not change during theming, use BackgroundColor if you want to follow theme.

◆ ViewItemHeaderTextColor

virtual Color VideoOS.Platform.Client.Theme.ViewItemHeaderTextColor
get

The header colors do not change during theming, use TextColor if you want to follow theme.

◆ ViewItemSelectedHeaderColor

virtual Color VideoOS.Platform.Client.Theme.ViewItemSelectedHeaderColor
get

The header colors do not change during theming, use BackgroundColor if you want to follow theme.

◆ ViewItemSelectedHeaderTextColor

virtual Color VideoOS.Platform.Client.Theme.ViewItemSelectedHeaderTextColor
get

The header colors do not change during theming, use TextColor if you want to follow theme.