ComponentOne FlexGrid for WinForms
BeforeEdit Event

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : BeforeEdit Event
Fires before the grid enters edit mode, and also when the cell that has the focus needs to be painted.
Public Event BeforeEdit As RowColEventHandler
public event RowColEventHandler BeforeEdit
Event Data

The event handler receives an argument of type RowColEventArgs containing data related to this event. The following RowColEventArgs properties provide information specific to this event.

Gets or sets a value indicating whether the operation should be canceled.  
Gets the index of the column that caused the event.  
Gets the index of the row that caused the event.  

This event doesn't fire only when the grid is about to enter edit mode.

It also fires while painting cells, in order to support drawing the editor's drop-down buttons.

The StartEdit event fires only when the grid is about to enter edit mode.

See Also