Spread for ASP.NET 7.0 Product Documentation
PanningMode Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > TouchInfo Class : PanningMode Property


Glossary Item Box

Gets or sets the way Spread reacts to touch manipulation.

Syntax

Visual Basic (Declaration) 
Public Property PanningMode As SpreadPanningMode
Visual Basic (Usage)Copy Code
Dim instance As TouchInfo
Dim value As SpreadPanningMode
 
instance.PanningMode = value
 
value = instance.PanningMode
C# 
public SpreadPanningMode PanningMode {get; set;}

Property Value

A value that specifies how Spread reacts to touch manipulation. The default is Both.

Example

This example sets the PanningMode property.
C#Copy Code
FpSpread1.Sheets[0].Columns.Count = 10;
FpSpread1.Sheets[0].Rows.Count = 20;
FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both;
VB.NETCopy Code
FpSpread1.Sheets(0).Columns.Count = 10
FpSpread1.Sheets(0).Rows.Count = 20
FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.