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