Articles in this section
Category / Section

How to customize the 3D border appearance in WinForms GroupBar?

1 min read

Appearance of 3D border

In GroupBar, the appearance of the 3D border style can be customized by using the properties BorderStyle and FlatLook. The following code example demonstrate the same.


//To remove the 3D style
this.groupBar1.BorderStyle = BorderStyle.FixedSingle;
this.groupBar1.FlatLook = true;
//To set the 3D style
this.groupBar1.BorderStyle = BorderStyle.Fixed3D;
this.groupBar1.FlatLook = false;


'To remove the 3D style
Me.groupBar1.BorderStyle = BorderStyle.FixedSingle
Me.groupBar1.FlatLook = True
'To set the 3D style
Me.groupBar1.BorderStyle = BorderStyle.Fixed3D
Me.groupBar1.FlatLook = False


Reference link:

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment