Skip to main content

DiagramControl.SelectItems(DiagramItem[]) Method

Clears the existing selection and then selects the specified items.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public void SelectItems(
    params DiagramItem[] items
)

Parameters

Name Type Description
items DiagramItem[]

A comma-separated list of DiagramItem objects, or an array of these objects.

Remarks

The following code snippet demonstrates the use of the current SelectItems method overload.

diagramControl1.SelectItems(diagramShape1, diagramShape2, diagramShape3, diagramShape4);
See Also