BootstrapAccordionGroupCollection.IndexOf(Predicate<BootstrapAccordionGroup>) Method

Returns the zero-based index of the specified group in the collection.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v20.2.dll

Declaration

public int IndexOf(
    Predicate<BootstrapAccordionGroup> match
)
Public Function IndexOf(
    match As Predicate(Of BootstrapAccordionGroup)
) As Integer

Parameters

Name Type Description
match Predicate<BootstrapAccordionGroup>

A delegate that defines the conditions of the elements to search for.

Returns

Type Description
Int32

An integer value representing the position of the specified group in the collection.

Remarks

If the specified group is not found in the collection this method returns -1.

See Also