StackedGroupBar in Windows Forms Navigation Pane (GroupBar)

28 Apr 20211 minute to read

When the GroupBar is in StackedMode, its header height can be controlled by HeaderHeight property.

// Setting HeaderHeight to zero hides the groupbar header
this.groupBar1.StackedMode = true;
this.groupBar1.HeaderHeight = 0;
'Setting HeaderHeight to zero hides the groupbar header
Me.groupBar1.StackedMode = True
Me.groupBar1.HeaderHeight = 0