Skip to main content
A newer version of this page is available. .

DiagramControl.SelectItems(DiagramItem[]) Method

Clears the existing selection and then selects the specified items.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

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