MainCatView.setVisiblePropBar

Syntax

setVisiblePropBar(value);

Parameters

value. Value that controls the state of the Side Panel button.

Description

The setVisiblePropBar method controls state of the Sidebar button on the Home tab of the tool ribbon: that is, presses and pulls this button.

Comments

If the value parameter is set to True the Sidebar button is pressed, otherwise it is released.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). In the example given below the Sidebar button is pressed programmatically:

// Get view of the Home tab
var category = expressBox.getRibbonView().getMainCategory();
// Open access to the Side Panel button
category.setVisiblePropBar(true);

Before executing this example the Sidebar button is not pressed:

As the result of executing this example the Sidebar button on the Home tab of the tool ribbon is pressed:

See also:

MainCatView