Spread Silverlight Documentation
DragDropBlock Event (SheetView)


Occurs when the user drags and drops a range of cells.
Syntax
'Declaration
 
Public Event DragDropBlock As System.EventHandler(Of DragDropBlockEventArgs)
'Usage
 
Dim instance As SheetView
Dim handler As System.EventHandler(Of DragDropBlockEventArgs)
 
AddHandler instance.DragDropBlock, handler
public event System.EventHandler<DragDropBlockEventArgs> 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
Cancel (Inherited from System.ComponentModel.CancelEventArgs)
ColumnCountGets the column count of the cell range being dragged.  
CopyGets whether the source range is copied.  
CopyOptionGets the CopyOption value for the drag and drop operation.  
FromColumnGets the column index of the top left cell of the source range (range being dragged).  
FromRowGets the row index of the top left cell of the source range (range being dragged).  
InsertGets whether the source range is inserted.  
RowCountGets the row count of the cell range being dragged.  
ToColumnGets the column index of the bottom right cell of the destination range (where selection is dropped).  
ToRowGets the row index of the top left cell of the destination range (where selection is dropped).  
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.