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.

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


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.

Dark 2

The VisualStyle is set to Dark.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



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

comments powered by Disqus