Spread Windows Forms 11.0 Product Documentation
DataOnly Property (DragDropBlockEventArgs)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DragDropBlockEventArgs Class : DataOnly Property
Gets or sets whether data or formatting (or both) is copied or moved.
Syntax
'Declaration
 
Public Property DataOnly As Boolean
'Usage
 
Dim instance As DragDropBlockEventArgs
Dim value As Boolean
 
instance.DataOnly = value
 
value = instance.DataOnly
public bool DataOnly {get; set;}

Property Value

Boolean: true for data only; false otherwise
Example
private void fpSpread1_DragDropBlock(object sender, FarPoint.Win.Spread.DragDropBlockEventArgs e)
{
    e.DataOnly = false;
}
Private Sub FpSpread1_DragDropBlock(ByVal sender As Object, ByVal e As     FarPoint.Win.Spread.DragDropBlockEventArgs) Handles
FpSpread1.DragDropBlock
    e.DataOnly = False
End Sub
See Also

Reference

DragDropBlockEventArgs Class
DragDropBlockEventArgs Members