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 As System.Windows.Forms.Control, _
ByVal As System.Windows.Forms.Keys _
) As System.Boolean
public virtual System.bool IsInputKey(
System.Windows.Forms.Control ,
System.Windows.Forms.Keys
)
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