Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / ActiveSheetChanging Event


In This Topic
    ActiveSheetChanging Event
    In This Topic
    Occurs when the user changes the active sheet.
    Syntax
    'Declaration
     
    
    Public Event ActiveSheetChanging As ActiveSheetChangingEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As ActiveSheetChangingEventHandler
     
    AddHandler instance.ActiveSheetChanging, handler
    public event ActiveSheetChangingEventHandler ActiveSheetChanging
    Event Data

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

    PropertyDescription
    Gets or sets the index of the new active sheet.  
    Gets or sets whether to cancel the active sheet change.  
    See Also