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.
    Syntax
    'Declaration
     
    Public Enum DragFillMode 
       Inherits System.Enum
    'Usage
     
    Dim instance As DragFillMode
    public enum DragFillMode : System.Enum 
    Members
    MemberDescription
    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
    Remarks
    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.
    Example
    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

    System.Object
       System.ValueType
          System.Enum
             FarPoint.Win.Spread.DragFillMode

    See Also