GrapeCity.Xaml.SpreadSheet.UI
FillRange Property (DragFillBlockCompletedEventArgs)
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > DragFillBlockCompletedEventArgs Class : FillRange Property
Gets the range used for the fill operation.
Syntax
'Declaration
 
Public ReadOnly Property FillRange As CellRange
'Usage
 
Dim instance As DragFillBlockCompletedEventArgs
Dim value As CellRange
 
value = instance.FillRange
public CellRange FillRange {get;}

Property Value

The range used for the fill operation.
Example
This example uses the FillRange property.
gcSpreadSheet1.CanUserDragFill = true;

private void gcSpreadSheet1_DragFillBlock(object sender, GrapeCity.Xaml.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.Xaml.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 Object, e As GrapeCity.Xaml.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 Object, e As GrapeCity.Xaml.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
See Also

Reference

DragFillBlockCompletedEventArgs Class
DragFillBlockCompletedEventArgs Members