Spread for ASP.NET 8.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, or oblique). Panning in the diagonal direction scrolls horizontally and vertically. Specify the type of panning mode with the PanningMode property and SpreadPanningMode enumeration.

Panning does not apply to header or footer areas.

Using Code

Set the PanningMode property.

Example

This example sets the PanningMode property to Both.

C#
Copy Code
FpSpread1.Sheets[0].Columns.Count = 10;
FpSpread1.Sheets[0].Rows.Count = 20;
FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both;
VB
Copy Code
FpSpread1.Sheets(0).Columns.Count = 10
FpSpread1.Sheets(0).Rows.Count = 20
FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both
See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback