Skip to main content

BootstrapGridViewToolbarMenuItemCollection.IndexOf(Predicate<BootstrapGridViewToolbarMenuItem>) Method

Returns the zero-based index of the specified toolbar item in the collection.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

#Declaration

public int IndexOf(
    Predicate<BootstrapGridViewToolbarMenuItem> match
)

#Parameters

Name Type Description
match Predicate<BootstrapGridViewToolbarMenuItem>

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 item in the collection.

#Remarks

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

See Also