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


In This Topic
    DragDropBlock Event
    In This Topic
    Occurs when the user drags and drops a range of cells.
    Syntax
    'Declaration
     
    
    Public Event DragDropBlock As DragDropBlockEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As DragDropBlockEventHandler
     
    AddHandler instance.DragDropBlock, handler
    public event DragDropBlockEventHandler DragDropBlock
    Event Data

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

    PropertyDescription
    Gets or sets whether the source range is copied or moved.  
    Gets or sets whether the copying or moving of data is cancelled.  
    Gets the column index of the top left cell of the source range (being dragged).  
    Gets the column index of the bottom right cell of the source range (being dragged).  
    Gets or sets whether data or formatting (or both) is copied or moved.  
    Gets the column index of the top left cell of the destination range (where selection is dropped).  
    Gets the column index of the bottom right cell of the destination range (where selection is dropped).  
    Gets the row index of the top left cell of the destination range (where selection is dropped).  
    Gets the row index of the bottom right cell of the destination range (where selection is dropped).  
    Gets whether the destination range contains data (that is overwritten).  
    Gets the row index of the top left cell of the source range (being dragged).  
    Gets the row index of the bottom right cell of the source range (being dragged).  
    See Also