'Declaration
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.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the operation should be canceled. |
Col | Gets the index of the column that caused the event. |
Row | Gets the index of the row that caused the event. |
Remarks
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