GxTitle.IsControl

Syntax

IsControl: Boolean

Description

The IsControl property determines whether title is a control.

Comments

Available values:

Use JSON or the setIsControl method to set the property value and the getIsControl 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. Check if title is a control:

// Get title
var title = expressBox.getDataView().getTitleView();
// Check if title is control
if (title.getIsControl()) {
    console.log("Title is control");
} else {
    console.log("Title is not a control");
}

As a result the console displays check result:

Title is a control

See also:

GxTitle