ShapeField.DoHitTest Method

Performs a hit test on a specified point in the diagram to determine whether the point is in the bounds of the shape field.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Overridable Sub DoHitTest ( _
    point As PointD, _
    parentShape As ShapeElement, _
    diagramHitTestInfo As DiagramHitTestInfo _
)
public virtual void DoHitTest(
    PointD point,
    ShapeElement parentShape,
    DiagramHitTestInfo diagramHitTestInfo
)
public:
virtual void DoHitTest(
    PointD point, 
    ShapeElement^ parentShape, 
    DiagramHitTestInfo^ diagramHitTestInfo
)
abstract DoHitTest : 
        point:PointD * 
        parentShape:ShapeElement * 
        diagramHitTestInfo:DiagramHitTestInfo -> unit 
override DoHitTest : 
        point:PointD * 
        parentShape:ShapeElement * 
        diagramHitTestInfo:DiagramHitTestInfo -> unit 
public function DoHitTest(
    point : PointD, 
    parentShape : ShapeElement, 
    diagramHitTestInfo : DiagramHitTestInfo
)

Parameters

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace