FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid.Classic Namespace / C1FlexGridClassic Class / BeforeEdit Event

In This Topic
    BeforeEdit Event (C1FlexGridClassic)
    In This Topic
    Fires before the grid enters edit mode, and also when the cell that has the focus needs to be painted.
    Syntax
    '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.

    PropertyDescription
    Gets or sets a value indicating whether the operation should be canceled.  
    Gets the index of the column that caused the event.  
    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