ListField::DoHitTest Method (PointD, ShapeElement^, DiagramHitTestInfo^)

 

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)

public:
virtual void DoHitTest(
	PointD point,
	ShapeElement^ parentShape,
	DiagramHitTestInfo^ diagramHitTestInfo
) override

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.

Return to top
Show: