CategoryContentExpanded: function (sender, args);
sender. Event source.
args. Event information.
The CategoryContentExpanded event occurs on expanding tab contents.
Tab contents is expanded on clicking the button at the top right corner of the ribbon.
To execute the example, the HTML page must contain the application ribbon named ribbon (see Example of Creating the Ribbon Component) that contains at least one tab. Add a handler for the CategoryContentExpanded event.
ribbon.CategoryContentExpanded.add(function (sender, args)
{
ribbon.getHideButton().dispose()
})
After executing the example expanding the panel contents removes the collapse button.
See also: