Skip to main content

RibbonPageGroupCollection.IndexOf(RibbonPageGroup) Method

Returns the position of the group within the collection.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public int IndexOf(
    RibbonPageGroup group
)

Parameters

Name Type Description
group RibbonPageGroup

A RibbonPageGroup object to locate in the collection.

Returns

Type Description
Int32

A zero-based index of the specified group in the collection. -1 if the collection doesn’t contain the specified group.

See Also