Spread Windows Forms 12.0 Product Documentation
AllowUserToTouchZoomChanged Event
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : AllowUserToTouchZoomChanged Event
Occurs when the AllowUserToZoom property has changed.
Syntax
'Declaration
 
Public Event AllowUserToTouchZoomChanged As EventHandler
'Usage
 
Dim instance As FpSpread
Dim handler As EventHandler
 
AddHandler instance.AllowUserToTouchZoomChanged, handler
public event EventHandler AllowUserToTouchZoomChanged
Example
This example uses the AllowUserToTouchZoomChanged event.
private void button1_Click(object sender, EventArgs e)
        {

            fpSpread1.AllowUserToTouchZoom = false;
        }


        private void fpSpread1_AllowUserToTouchZoomChanged(object sender, EventArgs e)
        {
            listBox1.Items.Add("changed");
        }
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        fpSpread1.AllowUserToTouchZoom = False
    End Sub

    Private Sub fpSpread1_AllowUserToTouchZoomChanged(sender As Object, e As EventArgs) Handles fpSpread1.AllowUserToTouchZoomChanged
        ListBox1.Items.Add("changed")
    End Sub
See Also

Reference

FpSpread Class
FpSpread Members