Skip to main content

BootstrapGridViewToolbarItemCollection.ForEach(Action<BootstrapGridViewToolbarItem>) Method

Performs the specified action on each element of the BootstrapGridViewToolbarItemCollection.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public BootstrapGridViewToolbarItemCollection ForEach(
    Action<BootstrapGridViewToolbarItem> action
)

Parameters

Name Type Description
action Action<BootstrapGridViewToolbarItem>

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

Returns

Type Description
BootstrapGridViewToolbarItemCollection

ABootstrapGridViewToolbarItemCollection 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 BootstrapGridViewToolbarItemCollection are individually passed to the Action<T> delegate.

See Also