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

In This Topic
    AfterRowColChange Event (C1FlexGridBase)
    In This Topic
    Fires after the current cell changes (Row and Col properties).
    Syntax
    'Declaration
     
    
    Public Event AfterRowColChange As RangeEventHandler
    public event RangeEventHandler AfterRowColChange
    Event Data

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

    PropertyDescription
    Gets or sets a value indicating whether the new selection should be canceled.  
    Gets the range that will be selected after the event.  
    Gets the range selected before the event.  
    Remarks

    This event fires before the Row or Col properties change, either as a result of user actions (mouse or keyboard) or through code. It allows you to display additional information about the currently selected row, column, or cell.

    To perform validation or prevent certain cells from being selected, use the BeforeRowColChange and BeforeSelChange events instead.

    See Also