GrapeCity MultiRow Windows Forms Documentation
WantsInputKey Method (MaskedTextBoxEditingControl)


A System.Windows.Forms.Keys that represents the key that was pressed.
Determines whether the specified key is a regular input key that the editing control should process.
Syntax
Public Overridable Function WantsInputKey( _
   ByVal keyData As Keys _
) As Boolean
Dim instance As MaskedTextBoxEditingControl
Dim keyData As Keys
Dim value As Boolean
 
value = instance.WantsInputKey(keyData)
public virtual bool WantsInputKey( 
   Keys keyData
)

Parameters

keyData
A System.Windows.Forms.Keys that represents the key that was pressed.

Return Value

true if the specified key is a regular input key that should be handled by the editing control; otherwise, false.
Remarks
If this method returns true for a special keyData, this means the keyboard message is handled by the editing control; otherwise, this means the editing control expects GcMultiRow to handle this keyboard message. GcMultiRow decides whether to handle the message based on the ShortcutKeyManager property. If the key is not contained in ShortcutKeyManager, the editing control still receives the key message.
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

Reference

MaskedTextBoxEditingControl Class
MaskedTextBoxEditingControl Members

 

 


Copyright © GrapeCity, inc. All rights reserved.