FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / PrepareCellForEdit Event

In This Topic
    PrepareCellForEdit Event
    In This Topic
    Occurs when an editor cell is created and before it becomes active.
    Syntax
    'Declaration
     
    
    Public Event PrepareCellForEdit As EventHandler(Of CellEditEventArgs)
    public event EventHandler<CellEditEventArgs> PrepareCellForEdit
    Event Data

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

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets a value that determines whether the editing action was canceled.  
    CellRange affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    CellType of the range affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    Index of the column affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    Gets the System.Windows.FrameworkElement responsible for editing the cell value.  
    GridPanel that contains the range affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    Index of the row affected by the event. (Inherited from C1.WPF.FlexGrid.CellRangeEventArgs)
    Remarks
    This event can be used to customize the editor before it becomes active.
    See Also