Ribbon.CategoryContentExpanded

Syntax

CategoryContentExpanded: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The CategoryContentExpanded event occurs on expanding tab contents.

Comments

Tab contents is expanded on clicking the button at the top right corner of the ribbon.

Example

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:

Ribbon