Border Settings in Windows Forms Navigation Pane (GroupBar)

28 Apr 20211 minute to read

GroupBar settings

The border style of the GroupBar can be set using the BorderStyle property.

this.groupBar1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
Me.groupBar1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D

GroupBar border style

GroupBar item client area border settings

The border of the GroupBar Item client area can be set and customized using the following properties.

this.groupBar1.DrawClientBorder = true;

this.groupBarItem2.ClientBorderColors = new Syncfusion.Windows.Forms.Tools.BorderColors(System.Drawing.Color.Red, System.Drawing.Color.Aqua, System.Drawing.Color.Lime, System.Drawing.Color.Magenta);
Me.groupBar1.DrawClientBorder = True

Me.groupBarItem2.ClientBorderColors = New Syncfusion.Windows.Forms.Tools.BorderColors(System.Drawing.Color.Red, System.Drawing.Color.Aqua, System.Drawing.Color.Lime, System.Drawing.Color.Magenta)

GroupBar item client area border