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


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

    Property Value

    Integer index of the destination ending 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