Spread for ASP.NET 11 Product Documentation
SpreadPanningMode Enumeration
Example Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace : SpreadPanningMode Enumeration
Specifies how Spread reacts to touch manipulation.
Syntax
'Declaration
 
Public Enum SpreadPanningMode 
   Inherits System.Enum
'Usage
 
Dim instance As SpreadPanningMode
public enum SpreadPanningMode : System.Enum 
Members
MemberDescription
BothSpread scrolls horizontally and vertically.
HorizontalOnlySpread scrolls horizontally only.
NoneSpread does not respond to touch input.
VerticalOnlySpread scrolls vertically only.
Example
This example sets the SpreadPanningMode enumeration.
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
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.SpreadPanningMode

See Also

Reference

FarPoint.Web.Spread Namespace