Spread Silverlight Documentation
FillDirection Property (DragFillBlockCompletedEventArgs)
Example 


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

Property Value

The direction of the fill.
Example
This example gets the FillDirection property.
gcSpreadSheet1.CanUserDragFill = true;

private void gcSpreadSheet1_DragFillBlock(object sender, GrapeCity.Windows.SpreadSheet.UI.DragFillBlockEventArgs e)
        {
           listBox1.Items.Add(e.AutoFillType.ToString());
           listBox1.Items.Add(e.FillDirection.ToString());
           listBox1.Items.Add(e.FillRange.RowCount.ToString());
        }

private void gcSpreadSheet1_DragFillBlockCompleted(object sender, GrapeCity.Windows.SpreadSheet.UI.DragFillBlockCompletedEventArgs e)
        {
            listBox1.Items.Add(e.AutoFillType.ToString());
            listBox1.Items.Add(e.FillDirection.ToString());
            listBox1.Items.Add(e.FillRange.RowCount.ToString());
        }
GcSpreadSheet1.CanUserDragFill = True
    
    Private Sub GcSpreadSheet1_DragFillBlock(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.DragFillBlockEventArgs) Handles GcSpreadSheet1.DragFillBlock
        ListBox1.Items.Add(e.AutoFillType.ToString())
        ListBox1.Items.Add(e.FillDirection.ToString())
        ListBox1.Items.Add(e.FillRange.RowCount.ToString())
    End Sub

    Private Sub GcSpreadSheet1_DragFillBlockCompleted(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.DragFillBlockCompletedEventArgs) Handles GcSpreadSheet1.DragFillBlockCompleted
        ListBox1.Items.Add(e.AutoFillType.ToString())
        ListBox1.Items.Add(e.FillDirection.ToString())
        ListBox1.Items.Add(e.FillRange.RowCount.ToString())
    End Sub
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

DragFillBlockCompletedEventArgs Class
DragFillBlockCompletedEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.