BootstrapAccordionItemCollection.ForEach(Action<BootstrapAccordionItem>) Method

Performs the specified action on each element of the BootstrapAccordionItemCollection.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

public BootstrapAccordionItemCollection ForEach(
    Action<BootstrapAccordionItem> action
)
Public Function ForEach(
    action As Action(Of BootstrapAccordionItem)
) As BootstrapAccordionItemCollection

Parameters

Name Type Description
action Action<BootstrapAccordionItem>

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

Returns

Type Description
BootstrapAccordionItemCollection

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

See Also