VisualStyle
#include <bb/cascades/VisualStyle>
A class representing a theme's overall visual color style.
Each ColorTheme has a VisualStyle that determines the colors used for controls and the default container background. The two visual styles are VisualStyle::Bright and VisualStyle::Dark, the default being Bright.

To change the application's theme to Dark specify the following configuration value in the application's bar-descriptor.xml file.
<env var="CASCADES_THEME" value="dark"/>
BlackBerry 10.0.0
Public Types
Specifies the VisualStyle the application uses.
BlackBerry 10.0.0
- Bright = 1
The VisualStyle is set to Bright.
Since:BlackBerry 10.0.0
- Dark = 2
The VisualStyle is set to Dark.
Since:BlackBerry 10.0.0