Skip to main content

GalleryItemGroupCollection.IndexOf(GalleryItemGroup) Method

Returns the specified element’s position within the collection.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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