Skip to main content

HtmlEditorToolbarItemCollection.ForEach(Action<HtmlEditorToolbarItem>) Method

Performs the specified action on each element of the HtmlEditorToolbarItemCollection.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

public HtmlEditorToolbarItemCollection ForEach(
    Action<HtmlEditorToolbarItem> action
)

Parameters

Name Type Description
action Action<HtmlEditorToolbarItem>

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

Returns

Type Description
HtmlEditorToolbarItemCollection

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

See Also