BootstrapToolbarMenuItemCollection.ForEach(Action<BootstrapToolbarMenuItem>) Method

Performs the specified action on each element of the BootstrapToolbarMenuItemCollection.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

public BootstrapToolbarMenuItemCollection ForEach(
    Action<BootstrapToolbarMenuItem> action
)

Parameters

Name Type Description
action Action<BootstrapToolbarMenuItem>

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

Returns

Type Description
BootstrapToolbarMenuItemCollection

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

See Also