Skip to main content
A newer version of this page is available. .

BootstrapTreeViewNodeCollection.ForEach(Action<BootstrapTreeViewNode>) Method

Performs the specified action on each element of the BootstrapTreeViewNodeCollection.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

public BootstrapTreeViewNodeCollection ForEach(
    Action<BootstrapTreeViewNode> action
)

Parameters

Name Type Description
action Action<BootstrapTreeViewNode>

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

Returns

Type Description
BootstrapTreeViewNodeCollection

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

See Also