Category / Section
How to change the orientation of WinForms SplitContainerAdv?
1 min read
Splitter orientation
Drag and drop a SplitContainerAdv control on to the form. There is a left panel (Panel1) and there is a right panel (Panel2) separated by a splitter.
By default, the orientation of the control is Horizontal.Inorder to change this, set the orientation property to Vertical.
C#
this.splitContainerAdv1.Orientation = System.Windows.Forms.Orientation.Vertical;
VB
Me.splitContainerAdv1.Orientation = System.Windows.Forms.Orientation.Vertical
Now the left panel changes to top panel and right one to bottom panel.
Reference link: https://help.syncfusion.com/windowsforms/splitcontainer/creating-splitcontaineradv#splitter-orientation