PropertyChanged: function (sender, args);
sender. Event source.
args. Event information.
The PropertyChanged event is fired after changing ribbon property.
To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and also add the following code in the handler, that processes document opening event:
//Get the Ribbon component var ribbonView = workbookBox.getRibbonView(); //Subscribe to the event of changing tool ribbon property ribbonView.PropertyChanged.add(function() { alert('Tool ribbon properties are changed'); });
After executing the example the WorkbookBox component is placed on the HTML page. To execute the example, select the Refresh item in workbook menu, after that the following message appears in the screen: Ribbon properties are changed.
See also: