DiagramControl.SelectItems Method

Name Parameters Description
SelectItems(DiagramItem[]) items Clears the existing selection and then selects the specified items.
SelectItems(IEnumerable<DiagramItem>, ModifySelectionMode) items, modifySelectionMode Selects the specified diagram items.