Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / DragFillMode Enumeration
Example Example

In This Topic
    DragFillMode Enumeration
    In This Topic
    Specifies the type of DragFill mode.
    Public Enum DragFillMode 
       Inherits System.Enum
    Dim instance As DragFillMode
    public enum DragFillMode : System.Enum 
    ControlCopy Fills cells with series patterns and copy patterns when Ctrl is pressed
    ControlSeries Fills cells with copy patterns and series patterns when Ctrl is pressed
    Copy Fills cells as a copy of selections
    Series Fills cells with series patterns
    The copy option copies the data to the selected range. The series option increments or decrements the values based on the series. Drag down or to the right to increment the values. Drag up or to the left to decrement the values.
    This example sets the DragFillMode enumeration.
    fpSpread1.AllowDragFill = true;
    fpSpread1.RangeDragFillMode = FarPoint.Win.Spread.DragFillMode.Series;
    FpSpread1.AllowDragFill = True
    FpSpread1.RangeDragFillMode = FarPoint.Win.Spread.DragFillMode.Series
    Inheritance Hierarchy


    See Also