Assembly: Forms;
The RibbonMainCategoryButton class implements the Button for Main Menu ribbon control.
Controls of this class can be added only to the IRibbonMainButton.Buttons collection.
| Property name | Brief description | |
![]() |
Action | The Action property determines an action that is associated with the ribbon button. |
![]() |
Down | The Down property determines a state of the control. |
![]() |
ImageIndex | The ImageIndex property determines index of the small image that is displayed on the button near the text. |
![]() |
LargeImageIndex | The LargeImageIndex property determines index of the large image that is displayed on the button near the text. |
![]() |
SplitButton | The SplitButton property determines whether the button is divided if there are subelements. |
![]() |
SubItems | The SubItems property returns the collection of controls that form the drop-down menu of the button. |
| Property name | Brief description | |
![]() |
Category | The Category property returns a tab, in area of which a control is placed. |
![]() |
Description | The Description property determines description of a control. |
![]() |
Enabled | The Enabled property determines whether a control is available for the user. |
![]() |
Height | The Height returns height of a control. |
![]() |
Highlighted | The Highlighted property returns whether the current control is highlighted. |
![]() |
Hint | The Hint property determines text of the tooltip for a control. |
![]() |
Id | The Id property returns identifier of a control. |
![]() |
Keys | The Keys property determines a hot key that is used for quick access to a control. |
![]() |
Left | The Left property returns distance from the left border of the parent component to the left border of the current control. |
![]() |
ParentElement | The ParentElement property returns parent control. |
![]() |
ParentGroup | The ParentGroup property returns the group, in which this control is included. |
![]() |
ParentPanel | The ParentPanel property returns the panel, on which a control is placed. |
![]() |
Text | The Text property determines the text that is displayed in the control area. |
![]() |
Top | The Top property returns the distance from the top border of the parent component to the top border of the current control. |
![]() |
Visible | The Visible property determines whether a control is visible. |
![]() |
Width | The Width property returns width of the control. |
| Property name | Brief description | |
![]() |
ComponentCount | The ComponentCount property returns the number of child components located on the parent component. |
![]() |
Components | The Components property returns the child component, which index is passed by the input parameter. |
![]() |
Data | The Data property is used to store any custom data. |
![]() |
Name | The Name property determines a component name. |
![]() |
Tag | The compiler does not use the Tag property. The user can change the value of the Tag property and use it as he wishes. |
| Event name | Brief description | |
![]() |
OnChange | The OnChange event occurs when the ribbon control element is used. |
![]() |
OnUpdate | The OnUpdate event occurs when the ribbon control element is updated. |
See also: