共用方式為


ShapeElement.DoHitTestSelection(PointD, DiagramHitTestInfo) Method

Definition

Performs a hittest on the selection surrounding the ShapeElement given a point relative to the Diagram's top-left in world units.

public:
 virtual bool DoHitTestSelection(Microsoft::VisualStudio::Modeling::Diagrams::PointD point, Microsoft::VisualStudio::Modeling::Diagrams::DiagramHitTestInfo ^ hitTestInfo);
public virtual bool DoHitTestSelection (Microsoft.VisualStudio.Modeling.Diagrams.PointD point, Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo hitTestInfo);
abstract member DoHitTestSelection : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo -> bool
override this.DoHitTestSelection : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo -> bool
Public Overridable Function DoHitTestSelection (point As PointD, hitTestInfo As DiagramHitTestInfo) As Boolean

Parameters

point
PointD

Point in world coordinates relative to the Diagram's top-left.

hitTestInfo
DiagramHitTestInfo

the object that will receive the return values

Returns

true if a grab handle was hit, false otherwise.

Applies to