Nevron .NET Vision
Nevron.UI.WinForm.Docking Namespace / NDockingFrameworkCommander Class / GetCommandByKeys Method
The keys to search for.


In This Topic
    GetCommandByKeys Method
    In This Topic
    Gets the command which contains a shortcut with the specified keys.
    Syntax
    'Declaration
     
    
    Public Function GetCommandByKeys( _
       ByVal keys As System.Windows.Forms.Keys _
    ) As NDockingFrameworkCommand
    'Usage
     
    
    Dim instance As NDockingFrameworkCommander
    Dim keys As System.Windows.Forms.Keys
    Dim value As NDockingFrameworkCommand
     
    value = instance.GetCommandByKeys(keys)
    public NDockingFrameworkCommand GetCommandByKeys( 
       System.Windows.Forms.Keys keys
    )

    Parameters

    keys
    The keys to search for.

    Return Value

    A NDockingFrameworkCommand instance if a command containing a shortcut with the specified keys exists, null otherwise.
    Requirements

    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