Diagram.DoHitTest Method

Include Protected Members
Include Inherited Members

Performs a hit test on the diagram.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method DoHitTest(PointD, DiagramHitTestInfo) Returns true if the specified point is within the shape. (Inherited from ShapeElement.)
Public method DoHitTest(PointD, DiagramHitTestInfo, Boolean) Performs a hit test on the diagram. (Overrides ShapeElement.DoHitTest(PointD, DiagramHitTestInfo, Boolean).)
Public method DoHitTest(DiagramClientView, PointD, List<ShapeElement>, Boolean) Performs a hit test on the diagram.

Top

Remarks

A hit test verifies whether a point is over a shape on the diagram. Both the diagram and the shapes in it can have hit tests performed upon them.

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace