Click or drag to resize
SelectionService Class
Manages the selection of diagram entities.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CoreSelectionService

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class SelectionService : ISelectionService<IDiagramItem>

The SelectionService type exposes the following members.

Constructors
  NameDescription
Public methodSelectionService
Initializes a new instance of the SelectionService class.
Top
Methods
  NameDescription
Public methodClearSelection
Clears the selection.
Public methodDeselectItem
Deselects the item.
Public methodDeselectItems
Deselects the items.
Public methodGetSelectionBounds
Recalculates the selection bounding box.
Public methodIsSingleSelected
Determines whether [is single selected] [the specified item].
Public methodSelectItem
Selects the given item.
Public methodSelectItems
Selects the given items.
Public methodSelectNextItem
Selects the next item in an ordered collection based on the current selected items.
Public methodSyncSelectedItems
Syncs the selected items.
Top
Properties
  NameDescription
Public propertySelectedConnections
Gets the selected connections.
Public propertySelectedItems
Gets the currently selected diagram entities.
Public propertySelectedItemsCount
Gets the selected items count.
Public propertySelectedShapes
Gets the currently selected diagram shapes.
Top
Events
  NameDescription
Public eventPreviewSelectionChanged
Occurs when [selection starts].
Public eventSelectionChanged
Occurs when [selection ended].
Top
See Also