BootstrapMenuItemCollection.ForEach(Action<BootstrapMenuItem>) Method
In This Article
Performs the specified action on each element of the BootstrapMenuItemCollection.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
NuGet Package: DevExpress.Web.Bootstrap
#Declaration
public BootstrapMenuItemCollection ForEach(
Action<BootstrapMenuItem> action
)
#Parameters
Name | Type | Description |
---|---|---|
action | Action<Bootstrap |
The Action |
#Returns
Type | Description |
---|---|
Bootstrap |
A Bootstrap |
#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 BootstrapMenuItemCollection are individually passed to the Action<T> delegate.
See Also