Xceed Grid for WinForms v4.3 Documentation
ProcessCmdKey Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : ProcessCmdKey Method
A System.Windows.Forms.Message, passed by reference, that represents the window message to process.
One of the System.Windows.Forms.Keys values that represents the key to process.
Processes a command key.
Syntax
'Declaration
 
<SecurityPermissionAttribute(True)>
Protected Overrides Function ProcessCmdKey( _
   ByRef msg As Message, _
   ByVal keyData As Keys _
) As Boolean
'Usage
 
Dim instance As GridControl
Dim msg As Message
Dim keyData As Keys
Dim value As Boolean
 
value = instance.ProcessCmdKey(msg, keyData)
[SecurityPermission(true)]
protected override bool ProcessCmdKey( 
   ref Message msg,
   Keys keyData
)

Parameters

msg
A System.Windows.Forms.Message, passed by reference, that represents the window message to process.
keyData
One of the System.Windows.Forms.Keys values that represents the key to process.

Return Value

true if the character was processed by the control; false 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

Reference

GridControl Class
GridControl Members
Base Implementation in ProcessCmdKey