NevronOpenVision
Nevron.Nov.Diagram.DrawingTools Namespace / NDragHandleTool Class / CanActivate Method / CanActivate(NMouseButtonEventArgs) Method
CanActivate(NMouseButtonEventArgs) Method
Determines whether the tool can activate
Syntax
protected override System.bool CanActivate( 
   NMouseButtonEventArgs args
)

Parameters

args

Return Value

true if the tool can activate, otherwise false
Remarks
Overriden to return false if the mouse is not over a handle, or the handle cannot be dragged
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also