FlexGrid for WinForms
KeyDownEdit Event



Fires in edit mode, when the user presses a key.
Syntax
'Declaration
 
<C1DescriptionAttribute("Fires in edit mode, when the user presses a key.")>
Public Event KeyDownEdit As KeyEditEventHandler
'Usage
 
Dim instance As C1FlexGridBase
Dim handler As KeyEditEventHandler
 
AddHandler instance.KeyDownEdit, handler
[C1Description("Fires in edit mode, when the user presses a key.")]
public event KeyEditEventHandler KeyDownEdit
[C1Description("Fires in edit mode, when the user presses a key.")]
public:
event KeyEditEventHandler^ KeyDownEdit
Remarks

The KeyDownEdit event corresponds to the System.Windows.Forms.Control.KeyDown event, except it fires when the grid is in edit mode (in this case, the control that received the key is the editor, not the grid itself).

The editor has three modes: text, drop-down combo, or drop-down list. The mode used is determined by the ComboList properties in the grid and column objects.

While editing with the text editor or with a drop-down combo, you may set or retrieve the contents of the editor by retrieving the editor control with the Editor property and casting it to the proper type.

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

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback