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

In This Topic
    AfterSelChange Event (C1FlexPivotGrid)
    In This Topic
    Syntax
    'Declaration
     
    Public Event AfterSelChange As RangeEventHandler
    public event RangeEventHandler AfterSelChange
    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 is fired after the C1.Win.C1FlexGrid.C1FlexGridBase.RowSel or C1.Win.C1FlexGrid.C1FlexGridBase.ColSel properties change, either as a result of user actions (mouse or keyboard) or through code.

    This event is useful if you want to display additional information about the current selection. To perform validation or prevent certain cells from being selected, use the C1.Win.C1FlexGrid.C1FlexGridBase.BeforeRowColChange and C1.Win.C1FlexGrid.C1FlexGridBase.BeforeSelChange events instead.

    See Also