ComponentOne DataGrid for WPF and Silverlight
BeginningEdit Event (C1DataGrid)

C1.Silverlight.DataGrid Namespace > C1DataGrid Class : BeginningEdit Event
Occurs before a cell begins to be edited.
Syntax
'Declaration
 
Public Event BeginningEdit As System.EventHandler(Of DataGridBeginningEditEventArgs)
public event System.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.

PropertyDescription
Gets or sets a value indicating whether the event is canceled.  
Gets the column corresponding to the editing cell.  
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