MESCIUS SPREAD for Windows Forms 15.0J
Ungrouped イベント
使用例 

すべてのグループ化が削除されたときに発生します。
構文
'宣言
 
Public Event Ungrouped As EventHandler
public event EventHandler Ungrouped
使用例
次のサンプルコードは、Ungroupedイベントを使用します。
private void Form1_Load(object sender, EventArgs e)
        {
        fpSpread1.AllowColumnMove = true;
        fpSpread1.ActiveSheet.GroupBarInfo.Visible = true;
        fpSpread1.ActiveSheet.AllowGroup = true;
        fpSpread1.ActiveSheet.Cells[0,0].Value = "test";
        }

private void fpSpread1_Ungrouped(object sender, EventArgs e)
        {
            listBox1.Items.Add("Ungrouped Event");
        }
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        FpSpread1.AllowColumnMove = True
        FpSpread1.ActiveSheet.GroupBarInfo.Visible = True
        FpSpread1.ActiveSheet.AllowGroup = True
        FpSpread1.ActiveSheet.Cells(0, 0).Value = "test"
    End Sub

Private Sub FpSpread1_Ungrouped(ByVal sender As Object, ByVal e As System.EventArgs) Handles FpSpread1.Ungrouped
        ListBox1.Items.Add("Ungrouped Event")
    End Sub
参照

FpSpread クラス
FpSpread メンバ

 

 


© MESCIUS inc. All rights reserved.