Spread Windows Forms 7.0 Product Documentation
RangeDragFillMode Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : RangeDragFillMode Property


Glossary Item Box

Gets or sets the mode the user can use to drag and fill cells in the component using the contents of a cell or cells.

Syntax

Visual Basic (Declaration) 
Public Property RangeDragFillMode As DragFillMode
Visual Basic (Usage)Copy Code
Dim instance As SpreadView
Dim value As DragFillMode
 
instance.RangeDragFillMode = value
 
value = instance.RangeDragFillMode
C# 
public DragFillMode RangeDragFillMode {get; set;}

Remarks

The drag fill mode can be set to series or copy.

Example

This example sets the drag fill mode to series.
C#Copy Code
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook(); 
sv.AllowDragFill = true;
sv.RangeDragFillMode = FarPoint.Win.Spread.DragFillMode.Series;
VB.NETCopy Code
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
sv.AllowDragFill = True
sv.RangeDragFillMode = FarPoint.Win.Spread.DragFillMode.Series

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.