We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to create and initialize a WinForms GroupBar control?

Platform: WinForms |
Control: GroupBar


1. Select the GroupBar item from the Visual Studio.NET toolbox and drop it onto the design form.

2. The GroupBar implements the AddGroup and RemoveGroup design-time verbs. Use either these verbs or the GroupBar.GroupBarItems property collection editor to add the requisite number of groups/tabs to the control.

3. Using the GroupBarItems collection editor, set the GroupBarItem attributes such as text, font, forecolor, backcolor etc., to achieve the desired visual effect for the GroupBar tabs.

4. Add client controls (GroupView or any of the standard Windows Forms controls) to the GroupBar by selecting the item from the Visual Studio.NET toolbox and dropping it onto the client region of the GroupBar. This will add the control to the GroupBar’s controls collection and associate the particular control with the current selected GroupBarItem. Repeat the process for all groups in the GroupBar by clicking on each GroupBarItem to make it the selected item.

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile