Assembly: Forms;
The IRibbonElementsCollection interface contains properties and methods that are used to work with the collections of controls of the different ribbon areas.
IRibbonElementsCollection
Use the following properties to receive the collections of controls:
IRibbon.TabElements. Common controls.
IRibbonButton.SubItems. Controls related to a button.
IRibbonGroup.Elements. Grouped controls.
IRibbonMainButton.Buttons. Buttons related to application button.
IRibbonPanel.Elements. Controls of a specific panel.
IRibbonQuickAccessToolbar.Elements. Controls displayed on the quick access toolbar.
Property name | Brief description | |
The Count property returns the number of controls in the collection. | ||
The Item property returns parameters of the specified control. |
Method name | Brief description | |
The Add method adds the specified control to the collection. | ||
The Clear method clears the collection of controls. | ||
The IndexOf method returns index in the collection for the specified control. | ||
The Insert method inserts the specified control to the specified position in the collection. | ||
The Remove method removes the specified control from the collection. | ||
The RemoveAt method removes the control from the collection by index. |
See also: