Skip to main content

DXObservableCollection<T>.ForEach(Action<T>, Boolean) Method

Iterates through each item in the DXObservableCollection<T> and performs the specified action.

Namespace: DevExpress.Maui.Mvvm

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

Declaration

public void ForEach(
    Action<T> action,
    bool parallel = false
)

Parameters

Name Type Description
action Action<T>

The operation that affects each item in the collection.

Optional Parameters

Name Type Default Description
parallel Boolean False

true if the method uses parallel processing for large datasets; otherwise false.

See Also