Spread Windows Forms 7.0 Product Documentation
Ungrouped Event
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : Ungrouped Event

Glossary Item Box

Occurs when all the grouping is removed.


Visual Basic (Declaration) 
Public Event Ungrouped As EventHandler
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim handler As EventHandler
AddHandler instance.Ungrouped, handler
public event EventHandler Ungrouped


This example uses the Ungrouped event.
C#Copy Code
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");
Visual BasicCopy Code
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


Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.