DiagramControl.SelectItems(DiagramItem[]) Method

Clears the existing selection and then selects the specified items.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

public void SelectItems(
    params DiagramItem[] items
)
Public Sub SelectItems(
    ParamArray items As DiagramItem()
)

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