VisualStyle

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.

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


Overview

Public Types Index

enum Type

Bright = 1, Dark = 2

Public Types

Type

Specifies the VisualStyle the application uses.

Since:

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

Last modified: 2014-03-13

comments powered by Disqus