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