DiagramControl.SelectItems(IEnumerable<DiagramItem>, ModifySelectionMode) Method

Selects the specified diagram items.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll


public void SelectItems(
    IEnumerable<DiagramItem> items,
    ModifySelectionMode modifySelectionMode = ModifySelectionMode.ReplaceSelection
Public Sub SelectItems(
    items As IEnumerable(Of DiagramItem),
    modifySelectionMode As ModifySelectionMode = ModifySelectionMode.ReplaceSelection


Name Type Description
items IEnumerable<DiagramItem>

An array of DiagramItem objects representing the diagram items to select.

Optional Parameters

Name Type Default Description
modifySelectionMode ModifySelectionMode


A ModifySelectionMode enumeration value that specifies whether to add or replace the existing selection with the specified diagram items.

See Also