[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.KeyPressEdit

KeyPressEdit Event

Fires in edit mode, when the user presses a character key.

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
public event KeyPressEditEventHandler KeyPressEdit
Returns
Type Description
KeyPressEditEventHandler Fires in edit mode, when the user presses a character key.
Remarks

The KeyPressEdit event corresponds to the KeyPress event, except it fires when the grid is in edit mode (in this case, the control that receives 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.