Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar
Private Sub ultraExplorerBar1_GroupCollapsing(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinExplorerBar.CancelableGroupEventArgs) Handles ultraExplorerBar1.GroupCollapsing
' Don't allow the group with key 'Main' to be collapsed
If (e.Group.Key = "Main") Then
e.Cancel = True
End If
End Sub