Articles in this section
Category / Section

What is the reason that WinForms SplitContainerAdv is not visible during run-time?

1 min read

Appearance settings

If the splitter is not noticeable, it is due to the Panels having the same back color as the splitter, and the BorderStyle being set to None. To make the splitter easily recognizable, change the BackColor for the SplitContainerPanels, or set the SplitContainerAdv BorderStyle as shown below.

C#

this.splitContainerAdv1.Panel1.BackColor = System.Drawing.SystemColors.ControlDark;
this.splitContainerAdv1.Panel2.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.splitContainerAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;

VB

Me.splitContainerAdv1.Panel1.BackColor = System.Drawing.SystemColors.ControlDark
Me.splitContainerAdv1.Panel2.BackColor = System.Drawing.SystemColors.ControlLightLight
Me.splitContainerAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle

Sample: https://www.syncfusion.com/downloads/support/directtrac/130671/SplitContainer-521404815.zip

Reference link: https://help.syncfusion.com/windowsforms/splitcontainer/splitcontaineradv#appearance-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