MainButton: IRibbonMainButton;
The MainButton property returns parameters of the application button that is used to open the main menu.
Application button is a large button that is placed at the left upper corner of the ribbon. Clicking this button opens the main menu. The following properties are used to set up main menu of the ribbon: MainCategory and MainButton. The MainCategory property enables the user to set up basic properties using tab properties, for example, specify the collection of images to be used by menu items, or specify hot keys to open the menu. The MainButton property enables the user to set up menu contents.
The example of use is given in description of the IRibbonMainButton.Buttons property.
See also: