Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / DragDropBlockEventArgs Class / DataOnly Property
Example


In This Topic
    DataOnly Property (DragDropBlockEventArgs)
    In This Topic
    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