Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

TouchInfo Class
TouchInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.