ShapeElement.DoHitTestSelection Method
Returns true if a given point is in the selection handles around the shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual bool DoHitTestSelection( PointD point, DiagramHitTestInfo hitTestInfo )
Parameters
- point
- Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
A point on the diagram, relative to the parent shape.
- hitTestInfo
- Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo
The object that will receive the results of the hit test.
Return Value
Type: System.Booleantrue if the selection handles or highlight around the shape were hit; otherwise, false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.