DiagramControl.SelectItems(IEnumerable<DiagramItem>, ModifySelectionMode) Method
Selects the specified diagram items.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v24.1.dll
NuGet Package: DevExpress.Wpf.Diagram
Declaration
public void SelectItems(
IEnumerable<DiagramItem> items,
ModifySelectionMode modifySelectionMode = ModifySelectionMode.ReplaceSelection
)
Parameters
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 | ReplaceSelection | A ModifySelectionMode enumeration value that specifies whether to add or replace the existing selection with the specified diagram items. |
See Also