ListField.DoHitTest Method
Retrieves hit test information, including which list item.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overrides Sub DoHitTest ( _
point As PointD, _
parentShape As ShapeElement, _
diagramHitTestInfo As DiagramHitTestInfo _
)
public override void DoHitTest(
PointD point,
ShapeElement parentShape,
DiagramHitTestInfo diagramHitTestInfo
)
public:
virtual void DoHitTest(
PointD point,
ShapeElement^ parentShape,
DiagramHitTestInfo^ diagramHitTestInfo
) override
abstract DoHitTest :
point:PointD *
parentShape:ShapeElement *
diagramHitTestInfo:DiagramHitTestInfo -> unit
override DoHitTest :
point:PointD *
parentShape:ShapeElement *
diagramHitTestInfo:DiagramHitTestInfo -> unit
public override function DoHitTest(
point : PointD,
parentShape : ShapeElement,
diagramHitTestInfo : DiagramHitTestInfo
)
Parameters
point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDA point in world units relative to the specified parent ShapeElement's top-left
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement to which this ShapeField belongs
diagramHitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfoThe hit test information to update with the hit test results.
.NET Framework Security
- 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.