Getting Started with Windows Forms Splitter

4 Apr 20242 minutes to read

This section briefly describes how to design the SplitterControl in the Windows Forms application.

  • Add the SplitterControl control.
  • Configure the SplitterControl control.

Add the SplitterControl

  1. Create a new Windows Forms Application Project in VS IDE through the New Project Wizard.
  2. Drag and drop the SplitterControl in the Form from the Toolbox.

Getting Started with WindowsForms Splitter

Configure the SplitterControl

To add SplitterControl to the Windows Forms Application through the following code example:

  1. Include the namespaces Syncfusion.Windows.Forms and Syncfusion.Windows.Forms.Tools.

    		using Syncfusion.Windows.Forms.Tools;
    		using Syncfusion.Windows.Forms;
    		Imports Syncfusion.Windows.Forms
    		Imports Syncfusion.Windows.Forms.Tools
  2. Create an instance of the SplitterControl and add it to the Form.

    //Creates the SplitterControl instance.
    		SplitterControl splitterControl1=new Syncfusion.Windows.Forms.SplitterControl();
    Creates the SplitterControl instance.
    		Dim splitterControl1 As New Syncfusion.Windows.Forms.SplitterControl()

    Splitter Control