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


Glossary Item Box

Gets or sets the way FpSpread reacts to touch manipulation.

Syntax

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

Remarks

The PanningMode property specifies whether the FpSpread scrolls horizontally, vertically, or both. The FpSpread will scroll when a user drags a finger on the control while using a touch device that supports Windows Touch.

Example

This example sets the PanningMode property.
C#Copy Code
fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both;
fpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split;
VB.NETCopy Code
FpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both
FpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split

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.