ElementListCompartment.DoHitTest(PointD, DiagramHitTestInfo, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overrides the DoHitTest method, so that list items are not hit detectable when zoomed out too far.
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
Parameters
- point
- PointD
Point to test.
- hitTestInfo
- DiagramHitTestInfo
Hit test information about that point.
- includeTolerance
- Boolean
Whether or not tolerance values should be in hit calculation.
Returns
Whether or not this item was hit.