Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / DragFillBlockCompletedEventArgs Class / Direction Property
Example


In This Topic
    Direction Property (DragFillBlockCompletedEventArgs)
    In This Topic
    Gets the direction of the fill.
    Syntax
    'Declaration
     
    Public ReadOnly Property Direction As FillDirection
    'Usage
     
    Dim instance As DragFillBlockCompletedEventArgs
    Dim value As FillDirection
     
    value = instance.Direction
    public FillDirection Direction {get;}

    Property Value

    FillDirection setting that determines the direction of the fill
    Example
    This example returns the direction of the drag.
    private void fpSpread1DragFillBlockCompleted(object sender, FarPoint.Win.Spread.DragFillBlockCompletedEventArgs e) 
    {
         MessageBox.Show(e.Direction.ToString());
    }
    
    Private Sub FpSpread1DragFillBlockCompleted(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragFillBlockCompletedEventArgs)
    Handles FpSpread1.DragFillBlockCompleted
         MessageBox.Show(e.Direction.ToString())
    End Sub
    See Also