Skip to main content

RibbonPageGroupCollection.Insert(Int32, RibbonPageGroup) Method

Adds the specified group to the collection at the specified position

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

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