GrapeCity SPREAD for Windows Forms 11.0J
AllowUserToTouchZoomChanged イベント


AllowUserToZoomプロパティが変更されたときに発生します。
構文
'Declaration
 
Public Event AllowUserToTouchZoomChanged As EventHandler
'使用法
 
Dim instance As FpSpread
Dim handler As EventHandler
 
AddHandler instance.AllowUserToTouchZoomChanged, handler
public event EventHandler AllowUserToTouchZoomChanged
次のサンプルコードは、AllowUserToTouchZoomChangedイベントを使用します。
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
参照

FpSpread クラス
FpSpread メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.