This member overrides ShapeField.DoHitTest(PointD, ShapeElement, DiagramHitTestInfo).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overrides Sub DoHitTest ( _
point As PointD, _
parentShape As ShapeElement, _
diagramHitTestInfo As DiagramHitTestInfo _
)
'使用
Dim instance As ShapeAutoInvalidator
Dim point As PointD
Dim parentShape As ShapeElement
Dim diagramHitTestInfo As DiagramHitTestInfo
instance.DoHitTest(point, parentShape, _
diagramHitTestInfo)
public override void DoHitTest(
PointD point,
ShapeElement parentShape,
DiagramHitTestInfo diagramHitTestInfo
)
public:
virtual void DoHitTest(
PointD point,
ShapeElement^ parentShape,
DiagramHitTestInfo^ diagramHitTestInfo
) override
public override function DoHitTest(
point : PointD,
parentShape : ShapeElement,
diagramHitTestInfo : DiagramHitTestInfo
)
Parameters
- point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- diagramHitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo
Permissions
- 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.