Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / C1StatusBar Class / IsInputKey Method / IsInputKey(Control,Keys) Method
Control that received the key.
One of the System.Windows.Forms.Keys values.

In This Topic
    IsInputKey(Control,Keys) Method
    In This Topic
    Internal version of IsInputKey that should be called by hosted controls in order to allow the view to handle tab keys, arrows, etc.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function IsInputKey( _
       ByVal ctl As Control, _
       ByVal keyData As Keys _
    ) As Boolean
    public virtual bool IsInputKey( 
       Control ctl,
       Keys keyData
    )

    Parameters

    ctl
    Control that received the key.
    keyData
    One of the System.Windows.Forms.Keys values.

    Return Value

    True if the specified key is a regular input key; otherwise, false.
    See Also