ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / BeforeEdit Event

In This Topic
    BeforeEdit Event (C1FlexPivotGrid)
    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 C1.Win.C1FlexGrid.C1FlexGridBase.StartEdit event fires only when the grid is about to enter edit mode.

    See Also