GxTitle.TextColor

Syntax

TextColor: PP.Color || RGB || String

Description

The TextColor property determines title text color.

Comments

Use JSON or the setTextColor method to set the property value, and the getTextColor method to get the property value.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To show the title, click the Title button on the Home tab. Change title text color:

// Get title
var title = expressBox.getDataView().getTitleView();
// Change title text color
title.setTextColor(PP.Color.Colors.darkgoldenrod);

As a result title color is changed:

See also:

GxTitle