Sdílet prostřednictvím


ListField.DoHitTest(PointD, ShapeElement, DiagramHitTestInfo) Method

Definition

Retrieves hit test information, including which list item.

public:
 override void DoHitTest(Microsoft::VisualStudio::Modeling::Diagrams::PointD point, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::DiagramHitTestInfo ^ diagramHitTestInfo);
public override void DoHitTest (Microsoft.VisualStudio.Modeling.Diagrams.PointD point, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo diagramHitTestInfo);
override this.DoHitTest : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo -> unit
Public Overrides Sub DoHitTest (point As PointD, parentShape As ShapeElement, diagramHitTestInfo As DiagramHitTestInfo)

Parameters

point
PointD

A point in world units relative to the specified parent ShapeElement's top-left

parentShape
ShapeElement

The ShapeElement to which this ShapeField belongs

diagramHitTestInfo
DiagramHitTestInfo

The hit test information to update with the hit test results.

Applies to