Spread Windows Forms 9.0 Product Documentation
SpreadPanningMode Enumeration
Example Example 


Specifies how FpSpread reacts to touch manipulation.
Syntax
'Declaration
 
Public Enum SpreadPanningMode 
   Inherits System.Enum
'Usage
 
Dim instance As SpreadPanningMode
public enum SpreadPanningMode : System.Enum 
Members
MemberDescription
BothThe FpSpread control scrolls horizontally and vertically.
HorizontalOnlyThe FpSpread control only scrolls horizontally.
HorizontalOrVerticalThe FpSpread control scrolls horizontally or vertically.
NoneThe FpSpread does not respond to pan input.
VerticalOnlyThe FpSpread control only scrolls vertically.
Example
This example uses the SpreadPanningMode enumeration.
fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.HorizontalOrVertical;

private void fpSpread1_PanningModeChanged(object sender, EventArgs e)
        {
            listBox1.Items.Add("Changed");
        }
FpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.HorizontalOrVertical

Private Sub FpSpread1_PanningModeChanged(sender As Object, e As EventArgs) Handles FpSpread1.PanningModeChanged
        ListBox1.Items.Add("Changed")
    End Sub
Inheritance Hierarchy

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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FarPoint.Win.Spread Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.