Spread Windows Forms 12.0 Product Documentation
PanningMode Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : PanningMode Property
Gets or sets the way FpSpread reacts to touch manipulation.
Syntax
'Declaration
 
Public Property PanningMode As SpreadPanningMode
'Usage
 
Dim instance As FpSpread
Dim value As SpreadPanningMode
 
instance.PanningMode = value
 
value = instance.PanningMode
public SpreadPanningMode PanningMode {get; set;}
Remarks
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.
Example
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

Reference

FpSpread Class
FpSpread Members