Spread Windows Forms 12.0 Product Documentation
PanningMode Property

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : PanningMode Property
Gets or sets the way FpSpread reacts to touch manipulation.
Public Property PanningMode As SpreadPanningMode
Dim instance As FpSpread
Dim value As SpreadPanningMode
instance.PanningMode = value
value = instance.PanningMode
public SpreadPanningMode PanningMode {get; set;}
The PanningMode property specifies whether the FpSpread scrolls horizontally, vertically, or both. The FpSpread scrolls when a user drags a finger on the control while using a touch device that supports Windows Touch.
This example sets the PanningMode property.
fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both;
fpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split;
FpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both
FpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split
See Also


FpSpread Class
FpSpread Members