BootstrapGridViewToolbarMenuItemCollection.ForEach(Action<BootstrapGridViewToolbarMenuItem>) Method

Performs the specified action on each element of the BootstrapGridViewToolbarMenuItemCollection.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

public BootstrapGridViewToolbarMenuItemCollection ForEach(
    Action<BootstrapGridViewToolbarMenuItem> action
)
Public Function ForEach(
    action As Action(Of BootstrapGridViewToolbarMenuItem)
) As BootstrapGridViewToolbarMenuItemCollection

Parameters

Name Type Description
action Action<BootstrapGridViewToolbarMenuItem>

The Action<T> delegate to perform on each element of the BootstrapGridViewToolbarMenuItemCollection.

Returns

Type Description
BootstrapGridViewToolbarMenuItemCollection

A BootstrapGridViewToolbarMenuItemCollection object that represents the processed item collection.

Remarks

The Action<T> is a delegate to a method that performs an action on the object passed to it. The elements of the current BootstrapGridViewToolbarMenuItemCollection are individually passed to the Action<T> delegate.

See Also