Skip to main content

BootstrapToolbarItemCollection.ForEach(Action<BootstrapToolbarItem>) Method

Performs the specified action on each element of the BootstrapToolbarItemCollection.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

public BootstrapToolbarItemCollection ForEach(
    Action<BootstrapToolbarItem> action
)

Parameters

Name Type Description
action Action<BootstrapToolbarItem>

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

Returns

Type Description
BootstrapToolbarItemCollection

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

See Also