Visual Basic (Declaration) | |
---|---|
Public Enum SpreadPanningMode Inherits System.Enum |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SpreadPanningMode |
C# | |
---|---|
public enum SpreadPanningMode : System.Enum |
Member | Description |
---|---|
Both | Spread scrolls horizontally and vertically. |
HorizontalOnly | Spread scrolls horizontally only. |
None | Spread does not respond to touch input. |
VerticalOnly | Spread scrolls vertically only. |
This example sets the SpreadPanningMode enumeration.
C# | Copy Code |
---|---|
FpSpread1.Sheets[0].Columns.Count = 10; FpSpread1.Sheets[0].Rows.Count = 20; FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both; |
VB.NET | Copy Code |
---|---|
FpSpread1.Sheets(0).Columns.Count = 10 FpSpread1.Sheets(0).Rows.Count = 20 FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both |
System.Object
System.ValueType
System.Enum
FarPoint.Web.Spread.SpreadPanningMode
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