Spread Windows Forms 9.0 Product Documentation
AllowUserToTouchZoomChanged Event
Example 


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