Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDragTool Class / TryActivate Method


In This Topic
    TryActivate Method (NDragTool)
    In This Topic
    Tries to activate the tool in response to the specified mouse event. Returns true if the tool is activated after the call.
    Syntax
    'Declaration
     
    
    Protected Overridable Function TryActivate( _
       ByVal args As NMouseButtonEventArgs _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDragTool
    Dim args As NMouseButtonEventArgs
    Dim value As System.Boolean
     
    value = instance.TryActivate(args)
    protected virtual System.bool TryActivate( 
       NMouseButtonEventArgs args
    )

    Parameters

    args
    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also