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


In This Topic
    SheetDragMoving Event
    In This Topic
    Occurs when the user drag-move the sheet name tab to move sheet.
    Syntax
    'Declaration
     
    
    Public Event SheetDragMoving As SheetDragMovingEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As SheetDragMovingEventHandler
     
    AddHandler instance.SheetDragMoving, handler
    public event SheetDragMovingEventHandler SheetDragMoving
    Event Data

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

    PropertyDescription
    Gets or sets whether to cancel the sheet drag and move action.  
    Gets or sets whether to allow the sheet to be moved to the ToSheetIndex location.  
    Gets the index of the sheet that is being moved.  
    Gets the index of the new position where the sheet is being moved.  
    See Also