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

GalleryItemGroupCollection.IndexOf(GalleryItemGroup) Method

Returns the specified element’s position within the collection.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public int IndexOf(
    GalleryItemGroup group
)

Parameters

Name Type Description
group GalleryItemGroup

A GalleryItemGroup object to locate in the collection.

Returns

Type Description
Int32

A zero-based integer which specifies the Gallery Item Group’s position within the collection. -1 if the Gallery Item Group doesn’t belong to the collection.

See Also