Spread Windows Forms 11.0 Product Documentation
DragFillMode Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : DragFillMode Enumeration
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
ControlCopyFills cells with series patterns and copy patterns when Ctrl is pressed
ControlSeriesFills cells with copy patterns and series patterns when Ctrl is pressed
CopyFills cells as a copy of selections
SeriesFills 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

Reference

FarPoint.Win.Spread Namespace