RibbonPageGroupCollection.IndexOf(RibbonPageGroup) Method

Returns the position of the group within the collection.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

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

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