A newer version of this page is available. Switch to the current version.

GalleryItemGroupCollection.Insert(Int32, GalleryItemGroup) Method

Adds the specified Gallery Item Group at the specified position.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll


public void Insert(
    int index,
    GalleryItemGroup group


Name Type Description
index Int32

A zero-based integer which specifies the position at which the Gallery Item Group should be inserted. If it’s negative or exceeds the number of elements within the collection an exception is thrown.

group GalleryItemGroup

A GalleryItemGroup object to insert.

See Also