Xceed Grid for WinForms v4.3 Documentation
IsActivationKey Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > CellEditorManager Class : IsActivationKey Method
The Xceed.Grid.Cell whose content is to be edited by the editor.
One of the System.Windows.Forms.Keys values.One of the System.Windows.Forms.Keys values.
Retrieves a boolean value indicating if the editor is activated by the key and raises the QueryActivationKey event.Retrieves a boolean value indicating if the control is activated by the key.
Syntax
'Declaration
 
Protected Friend Function IsActivationKey( _
   ByVal cell As Cell, _
   ByVal keyData As Keys _
) As Boolean
'Usage
 
Dim instance As CellEditorManager
Dim cell As Cell
Dim keyData As Keys
Dim value As Boolean
 
value = instance.IsActivationKey(cell, keyData)
protected internal bool IsActivationKey( 
   Cell cell,
   Keys keyData
)

Parameters

cell
The Xceed.Grid.Cell whose content is to be edited by the editor.
keyData
One of the System.Windows.Forms.Keys values.One of the System.Windows.Forms.Keys values.

Return Value

true if the editor is activated by the key; false otherwise.true if the control is activated by the key; false otherwise.
Remarks

If true, the editor is activated and will immediately receive a System.Windows.Forms.Control.KeyDown event for that key.

If true, the control is activated and will immediately receive an System.Windows.Forms.Control.OnKeyDown(System.Windows.Forms.KeyEventArgs) event for that key.

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

CellEditorManager Class
CellEditorManager Members