Articles in this section
Category / Section

How to customize the splitter color in WinForms GroupBar?

1 min read

Customize the splitter color

In GroupBar, you can change the appearance of the Splitter by using its SplitterColor and EnableSplittercolorCustomization property.  Following code example is to demonstrate the same.

Note:

Enable the StackedMode property to display the Splitter inside the GroupBar.

C#

this.groupBar1.StackedMode = true;
// To customize the splitter color
this.groupBar1.Splittercolor = Color.Red;
// To define whether to use default splitter color or customized color
this.groupBar1.EnableSplittercolorCustomization = true;

VB

Me.groupBar1.StackedMode = True
' To customize the splitter color
Me.groupBar1.Splittercolor = Color.Red
' To define whether to use default splitter color or customized color
Me.groupBar1.EnableSplittercolorCustomization = True

The following screenshot displays the customized Splitter in GroupBar.

Customize the splitter in GroupBar

Figure 1: Customized Splitter in GroupBar

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/GroupBarSample388834837.zip

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