Spread Windows Forms 10.0 Product Documentation
Using Touch Support with Scrolling

You can use touch gestures when scrolling in the control.

You can tap the scroll bar or press and slide the scroll bar to scroll. You can also use panning gestures in the cell area of the control (vertical, horizontal, diagonal, or oblique). Panning in the diagonal direction scrolls horizontally and vertically. Specify the type of panning mode with the PanningMode property.

You can specify feedback when scrolling with the BoundaryFeedbackMode property (standard or split). For more information on standard, see http://msdn.microsoft.com/en-us/library/windows/desktop/dd317331(v=vs.85).aspx. The Split option separates frozen and scrollable areas or headers and scrollable areas.

Using Code

This example sets the PanningMode property to allow horizontal and vertical panning and specifies the type of feedback.

CS
Copy Code
fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both;
fpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split;
VB
Copy Code
FpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.Both
FpSpread1.BoundaryFeedbackMode = FarPoint.Win.Spread.BoundaryFeedbackMode.Split
See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback