Since: BlackBerry 10.0.0

#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.

No caption available

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"/>


Public Types Index

enum Type

Bright 1, Dark 2

Public Types


Specifies the VisualStyle the application uses.


BlackBerry 10.0.0

Bright 1

The VisualStyle is set to Bright.

Dark 2

The VisualStyle is set to Dark.


BlackBerry 10.0.0

Last modified: 2015-01-22

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus