An instance of the RibbonGroupCollection class contains objects of type RibbonGroup and can be obtained with the RibbonTab.RibbonGroups property. It is inherited from the abstract class System.Collections.CollectionBase and implements the System.Collections.IEnumerable and System.Collections.IEnumerator interfaces. The following describes only the properties, methods and events defined through the RibbonGroupCollection class. For a list of properties, methods and events of these classes and interfaces see the .NET Framework reference.

Syntax

public class RibbonGroupCollection : CollectionBase, IEnumerable, IEnumerator
Public Class RibbonGroupCollection
  Inherits CollectionBase
  Implements IEnumerable
  Implements IEnumerator

Introduced: X14.

Methods

Method Description
Add Adds an object of the type RibbonGroup to the end of the collection.
Insert Inserts an object of the type RibbonGroup at the specified index of the collection.
Remove Removes an object of the type RibbonGroup from the collection.

Properties

Property Description
Item Gets an object of type RibbonGroup from the collection.