PowerTools SPREAD for Windows Forms 10.0J
ShowGrippersInEditingStatus プロパティ


タップしたときに編集モードでグリッパーを表示するかどうかを取得または設定します。
構文
'Declaration
 
Public Property ShowGrippersInEditingStatus As Boolean
'使用法
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.ShowGrippersInEditingStatus = value
 
value = instance.ShowGrippersInEditingStatus
public bool ShowGrippersInEditingStatus {get; set;}
次のサンプルコードは、ShowGrippersInEditingStatusプロパティを設定します。
private void Form1_Load(object sender, EventArgs e)
    {
        fpSpread1.ShowGrippersInEditingStatus = true;
    }

    private void button1_Click(object sender, EventArgs e)
    {
        fpSpread1.ShowGrippersInEditingStatus = false;
    }

    private void fpSpread1_ShowGrippersInEditingStatusChanged(object sender, EventArgs e)
    {
        listBox1.Items.Add("Status Changed");
    }
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
     FpSpread1.ShowGrippersInEditingStatus = True
End Sub

Private Sub FpSpread1_ShowGrippersInEditingStatusChanged(sender As Object, e As EventArgs) Handles FpSpread1.ShowGrippersInEditingStatusChanged
    ListBox1.Items.Add("Status Changed")
End Sub

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    FpSpread1.ShowGrippersInEditingStatus = False
End Sub
参照

FpSpread クラス
FpSpread メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.