setPropertyValue(propertyName: PP.TS.Ui.WbkPropertyViews, value);
propertyName. Setting name.
value. Value to be set.
The setPropertyValue method defines settings of workbook ribbon.
To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Show the Title button in the ribbon as pressed:
// Get tool ribbon var ribbon = workbookBox.getRibbonView(); // Get the Home tool ribbon category var mainCategory = ribbon.getMainCategory(); // Display the Title button as pressed mainCategory.setPropertyValue(PP.TS.Ui.WbkPropertyViews.VisibleTitle, True);
After executing the example the Title button in the workbook ribbon is shown as pressed:
See also: