Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Overrides the DoHitTest method, so that list items are not hit detectable when zoomed out too far.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overrides Function DoHitTest ( _
point As PointD, _
hitTestInfo As DiagramHitTestInfo, _
includeTolerance As Boolean _
) As Boolean
public override bool DoHitTest(
PointD point,
DiagramHitTestInfo hitTestInfo,
bool includeTolerance
)
public:
virtual bool DoHitTest(
PointD point,
DiagramHitTestInfo^ hitTestInfo,
bool includeTolerance
) override
abstract DoHitTest :
point:PointD *
hitTestInfo:DiagramHitTestInfo *
includeTolerance:bool -> bool
override DoHitTest :
point:PointD *
hitTestInfo:DiagramHitTestInfo *
includeTolerance:bool -> bool
public override function DoHitTest(
point : PointD,
hitTestInfo : DiagramHitTestInfo,
includeTolerance : boolean
) : boolean
Parameters
point
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDPoint to test.
hitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfoHit test information about that point.
includeTolerance
Type: System.BooleanWhether or not tolerance values should be in hit calculation.
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.