Skip to main content
A newer version of this page is available. .

RibbonPageGroupCollection.Insert(Int32, RibbonPageGroup) Method

Adds the specified group to the collection at the specified position

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public void Insert(
    int index,
    RibbonPageGroup group
)

Parameters

Name Type Description
index Int32

A zero-based index at which the specified group is inserted. If negative or exceeds the number of elements in the collection an exception is thrown.

group RibbonPageGroup

A RibbonPageGroup object that represents the inserted group.

Remarks

If the specified group is already contained within the collection, the Insert method does nothing.

See Also