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;} |
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.This example sets the PanningMode property.
C# | Copy Code |
---|---|
fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both; fpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split; |
VB.NET | Copy Code |
---|---|
FpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both FpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8