ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / BeginningEdit Event

In This Topic
    BeginningEdit Event
    In This Topic
    Occurs before a cell begins to be edited.
    Syntax
    'Declaration
     
    
    Public Event BeginningEdit As EventHandler(Of DataGridBeginningEditEventArgs)
    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