FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / AfterDeleteRow Event

In This Topic
    AfterDeleteRow Event (C1FlexGridBase)
    In This Topic
    Fires after one or more rows are deleted by the user.
    Syntax
    'Declaration
     
    
    Public Event AfterDeleteRow As RowColEventHandler
    public event RowColEventHandler AfterDeleteRow
    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 only fires when AllowDelete property is set to True and the user deletes one or more rows by pressing the DEL key. It does not fire when rows are removed from the grid programmatically or through the grid's data source.

    When this event fires, the rows have already been removed from the grid, so the Row parameter is always set to E.

    See Also