Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / SelectionChanging Event


In This Topic
    SelectionChanging Event
    In This Topic
    Occurs when the selection of cells on the sheet is changing.
    Syntax
    'Declaration
     
    
    Public Event SelectionChanging As SelectionChangingEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As SelectionChangingEventHandler
     
    AddHandler instance.SelectionChanging, handler
    public event SelectionChangingEventHandler SelectionChanging
    Event Data

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

    PropertyDescription
    Gets or sets whether the selection action should be cancelled.  
    Gets the column index of the cell that contains the mouse pointer.  
    Gets the row index of the cell that contains the mouse pointer.  
    Gets the range of cells encompassing the selection.  
    Gets the view that contains the selection.  
    See Also