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.

C#

//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;

VB

'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

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/GroupBar_Demo-883143905.zip

Reference link: https://help.syncfusion.com/windowsforms/navigation-pane/border-settings

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