BootstrapGridViewToolbarMenuItemCollection.FindRecursive(Predicate<BootstrapGridViewToolbarMenuItem>) Method

Returns the first element that matches the conditions defined by the specified predicate.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

public BootstrapGridViewToolbarMenuItem FindRecursive(
    Predicate<BootstrapGridViewToolbarMenuItem> match
)
Public Function FindRecursive(
    match As Predicate(Of BootstrapGridViewToolbarMenuItem)
) As BootstrapGridViewToolbarMenuItem

Parameters

Name Type Description
match Predicate<BootstrapGridViewToolbarMenuItem>

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

Returns

Type Description
BootstrapGridViewToolbarMenuItem

A BootstrapGridViewToolbarMenuItem object that matches the conditions defined by the predicate.

Remarks

The FindRecursive method individually passes elements of the current hierarchical collection to a predicate, and returns the first element that matches the predicate. A predicate is a delegate to a method that returns true if the object passed to it matches the conditions defined in the delegate; otherwise the method returns false.

See Also