ListField.DoHitTest Method
Retrieves hit test information, including which list item.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
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.PointD
A point in world units relative to the specified parent ShapeElement's top-left
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement to which this ShapeField belongs
- diagramHitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo
The 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.