GalleryItemGroupCollection.IndexOf(GalleryItemGroup) Method

Returns the specified element's position within the collection.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public int IndexOf(
    GalleryItemGroup group
)
Public Function IndexOf(
    group As GalleryItemGroup
) As Integer

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