ElementListCompartment::DoHitTest Method (PointD, DiagramHitTestInfo^, Boolean)
Visual Studio 2015
Overrides the DoHitTest method, so that list items are not hit detectable when zoomed out too far.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual bool DoHitTest( PointD point, DiagramHitTestInfo^ hitTestInfo, bool includeTolerance ) override
Parameters
- point
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PointD
Point to test.
- hitTestInfo
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramHitTestInfo^
Hit test information about that point.
- includeTolerance
-
Type:
System::Boolean
Whether or not tolerance values should be in hit calculation.
Return Value
Type: System::Boolean
Show: