[]
        
(Showing Draft Content)

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.

Spread for ASP.NET spreadsheet interface displays Scrollbars, helping developers complete the task described in Using Touch Support with Scrolling.

Spread for ASP.NET spreadsheet interface displays Horizontal Panning, helping developers complete the task described in Using Touch Support with Scrolling.

Spread for ASP.NET spreadsheet interface displays Vertical Panning, helping developers complete the task described in Using Touch Support with Scrolling.

Spread for ASP.NET spreadsheet interface displays Diagonal Panning, helping developers complete the task described in Using Touch Support with Scrolling.

Panning does not apply to header or footer areas.

Using Code

Set the PanningMode property.

Example

This example sets the PanningMode property to Both.

FpSpread1.Sheets[0].Columns.Count = 10;
FpSpread1.Sheets[0].Rows.Count = 20;
FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both;
FpSpread1.Sheets(0).Columns.Count = 10
FpSpread1.Sheets(0).Rows.Count = 20
FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both

See Also

Customizing the Scroll Bar Colors

Displaying Scroll Bars