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


In This Topic
    DestinationRowBegin Property (DragDropBlockEventArgs)
    In This Topic
    Gets the row index of the top left cell of the destination range (where selection is dropped).
    Syntax
    'Declaration
     
    Public ReadOnly Property DestinationRowBegin As Integer
    'Usage
     
    Dim instance As DragDropBlockEventArgs
    Dim value As Integer
     
    value = instance.DestinationRowBegin
    public int DestinationRowBegin {get;}

    Property Value

    Integer index of the destination starting row
    Example
    private void fpSpread1_DragDropBlock(object sender, FarPoint.Win.Spread.DragDropBlockEventArgs e)
        {
        textBox1.Text = "The beginning row is " + e.DestinationRowBegin + " and the ending column is " + e.DestinationRowEnd;
        }
    
    Private Sub FpSpread1_DragDropBlock(ByVal sender As Object, ByVal e As     FarPoint.Win.Spread.DragDropBlockEventArgs) Handles
    FpSpread1.DragDropBlock
        TextBox1.Text = "The beginning row is " & e.DestinationRowBegin & " and the ending row is " &     e.DestinationRowEnd
    End Sub
    
    See Also