ElementListCompartment.DoHitTest(PointD, DiagramHitTestInfo, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Remplace la méthode DoHitTest pour que les éléments de liste ne soient pas détectables par positionnement lorsqu'ils sont zoomés trop loin.
public:
override bool DoHitTest(Microsoft::VisualStudio::Modeling::Diagrams::PointD point, Microsoft::VisualStudio::Modeling::Diagrams::DiagramHitTestInfo ^ hitTestInfo, bool includeTolerance);
public override bool DoHitTest (Microsoft.VisualStudio.Modeling.Diagrams.PointD point, Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo hitTestInfo, bool includeTolerance);
override this.DoHitTest : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo * bool -> bool
Public Overrides Function DoHitTest (point As PointD, hitTestInfo As DiagramHitTestInfo, includeTolerance As Boolean) As Boolean
Paramètres
- point
- PointD
Point à tester.
- hitTestInfo
- DiagramHitTestInfo
Informations de test de positionnement sur ce point.
- includeTolerance
- Boolean
Indique si les valeurs de tolérance doivent figurer dans le calcul de positionnement.
Retours
Indique si cet élément a été atteint ou non.