'Declaration
Public Event BeginningEdit As EventHandler(Of DataGridBeginningEditEventArgs)
public event EventHandler<DataGridBeginningEditEventArgs> BeginningEdit
Event Data
The event handler receives an argument of type DataGridBeginningEditEventArgs containing data related to this event. The following DataGridBeginningEditEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event is canceled. |
Column | Gets the column corresponding to the editing cell. |
Row | Gets the row corresponding to the editing cell. |
Remarks
This event typically occurs when the user press F2 over a cell or click a cell or a row that already contains the current cell. You can cancel the event setting DataGridBeginningEditEventArgs.Cancel to true.
See Also