Spread Windows Forms 11.0 Product Documentation
PanningModeChanged Event
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : PanningModeChanged Event
Occurs when the PanningMode property has changed.
Syntax
'Declaration
 
Public Event PanningModeChanged As EventHandler
'Usage
 
Dim instance As FpSpread
Dim handler As EventHandler
 
AddHandler instance.PanningModeChanged, handler
public event EventHandler PanningModeChanged
Example
This example uses the PanningModeChanged event.
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
See Also

Reference

FpSpread Class
FpSpread Members