Spread Windows Forms 7.0 Product Documentation
DragFillMode Enumeration
Example  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : DragFillMode Enumeration


Glossary Item Box

Specifies the type of DragFill mode.

Syntax

Visual Basic (Declaration) 
Public Enum DragFillMode 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As DragFillMode
C# 
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.
C#Copy Code
fpSpread1.AllowDragFill = true;
fpSpread1.RangeDragFillMode = FarPoint.Win.Spread.DragFillMode.Series;
VB.NETCopy Code
FpSpread1.AllowDragFill = True
FpSpread1.RangeDragFillMode = FarPoint.Win.Spread.DragFillMode.Series

Inheritance Hierarchy

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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.