Click or drag to resize
IHitTestService Interface
The service supporting the hit-testing when selecting diagram items through a selection rectangle or a click-select action.

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 interface IHitTestService

The IHitTestService type exposes the following members.

Methods
  NameDescription
Public methodGetConnectionsUnderRect
Gets the connections intersecting the specific rectangle.
Public methodGetItemsNearPoint
Gets the items near point.
Public methodGetItemsUnderRect
Gets the items under rectangle.
Public methodGetShapesNearPoint
Gets the shapes near point within some delta distance.
Public methodGetShapesUnderRect
Gets the shapes under rectangle.
Public methodGetTopItemNearPoint
Gets the topmost item under point.
Public methodGetTopShapesUnderPoint
Gets the shapes under point.
Top
Properties
  NameDescription
Public propertyItemUnderMouse
Gets the item under the mouse.
Public propertyShapeUnderMouse
Gets the shape under mouse.
Top
Remarks
Note that this service can be customized and plugged into the ServiceLocator.
See Also