Spread for ASP.NET 8.0 Product Documentation
PanningMode Property
Example 


Gets or sets the way Spread reacts to touch manipulation.
Syntax
'Declaration
 
Public Property PanningMode As SpreadPanningMode
'Usage
 
Dim instance As TouchInfo
Dim value As SpreadPanningMode
 
instance.PanningMode = value
 
value = instance.PanningMode
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.
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
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

Reference

TouchInfo Class
TouchInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.