Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDragTool Class / CanActivate Method

In This Topic
    CanActivate Method (NDragTool)
    In This Topic
    Determines whether the tool can activate
    Public Overrides Function CanActivate() As System.Boolean
    Dim instance As NDragTool
    Dim value As System.Boolean
    value = instance.CanActivate()
    public override System.bool CanActivate()

    Return Value

    true if the tool can activate, othwerwise false
    Overriden to perform the following steps:

    1. Returns false if the OperatesInWindowArea flag is raised and the mouse is outside the view window

    2. Returns true if the current mouse event is the start event


    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also