Spread Windows Forms 9.0 Product Documentation
PanningModeChanged Event
Example 


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
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

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.