[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonGroupCollection

RibbonGroupCollection Class

Represents a collection of RibbonGroup objects in a RibbonTab.

Inheritance
RibbonGroupCollection
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
[ListBindable(false)]
public class RibbonGroupCollection : CollectionBase, IList, ICollection, IEnumerable

Properties

Name Description
this[int]

Gets or sets the RibbonGroup at the specified position in the collection.

this[string]

Gets the RibbonGroup with the specified name.

Methods

Name Description
Add(RibbonGroup)

Adds a RibbonGroup to the RibbonGroupCollection.

Add(string)

Adds a new RibbonGroup with the specified text to the collections.

ClearAndDisposeGroups()

Removes all groups from the collection, then disposes the groups.

Contains(RibbonGroup)

Determines whether the RibbonGroupCollection contains a specific RibbonGroup.

Contains(string)

Determines whether the collection contains a RibbonGroup with the given name.

IndexOf(RibbonGroup)

Determines the index of the specified RibbonGroup in this RibbonGroupCollection.

IndexOf(string)

Gets the index of the RibbonGroup with the given name.

Insert(int, RibbonGroup)

Inserts a RibbonGroup to the RibbonGroupCollection at the specified index.

OnClearComplete()

Performs additional custom processes after clearing the contents of the RibbonGroupCollection instance.

OnInsertComplete(int, object)

Performs additional custom processes after inserting a RibbonGroup into the RibbonGroupCollection instance.

OnRemoveComplete(int, object)

Performs additional custom processes after removing a RibbonGroup from the RibbonGroupCollection instance.

OnSetComplete(int, object, object)

Performs additional custom processes after setting a RibbonGroup in the RibbonGroupCollection instance.

OnValidate(object)

Checks that value is a RibbonGroup.

Remove(RibbonGroup)

Removes the first occurrence of a specific RibbonGroup from the RibbonGroupCollection.