Spread Windows Forms 11.0 Product Documentation
SpreadPanningMode Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : SpreadPanningMode Enumeration
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

See Also

Reference

FarPoint.Win.Spread Namespace