Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraDiagramExtensions.ForEachSelectedItem(DiagramControl, Action<DiagramItem>) Method

In This Article

Executes the specified action on each selected item.

Namespace: DevExpress.XtraDiagram.Extensions

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

public static void ForEachSelectedItem(
    this DiagramControl diagram,
    Action<DiagramItem> handler
)

#Parameters

Name Type Description
diagram DiagramControl

The diagram control.

handler Action<DiagramItem>

The delegate to execute on each selected item.

See Also