---
title: "Splitter Control in C#.Net"  
description: "The Splitter control enables you to resize controls that are docked to the edges of the Splitter control at run time. When the user passes the mouse p"  
author: "Anonymous User"  
published: 2012-03-04  
updated: 2014-09-18  
canonical: https://www.mindstick.com/blog/283/splitter-control-in-c-sharp-dot-net  
category: "c#"  
tags: ["c#"]  
reading_time: 2 minutes  

---

# Splitter Control in C#.Net

The **Splitter [control](https://www.mindstick.com/blog/197/asp-dot-net-repeater-control)** enables you to resize [controls](https://www.mindstick.com/articles/66/how-to-create-controls-at-run-time-in-csharp-dot-net) that are docked to the edges of the Splitter control at run time. When the user passes the mouse [pointer](https://www.mindstick.com/articles/11/pointers) over the Splitter control, the [cursor](https://www.mindstick.com/articles/13003/create-a-simple-cursor-in-sql-server) changes to indicate that the controls docked to the **Splitter control** can be resized. The Splitter control enables the user to resize the docked control that is immediately before it in the docking order. Therefore, to enable the user to resize a docked control, dock the control you want the user to be able to resize to an edge of a [container](https://www.mindstick.com/forum/159610/how-to-connect-a-windows-container-to-a-service-running-on-localhost), and then dock a splitter to the same side of that container.\

That is if you want to split the layout of your [Windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) Forms window into two parts either a left and right half or a top and bottom half. By using the Splitter control, you can [present](https://answers.mindstick.com/qa/96635/explain-about-the-various-features-present-in-ms-access) a resizable view to your user.

To add a Splitter Control in your [window form](https://www.mindstick.com/forum/419/how-to-pass-data-from-one-window-form-to-another), you will drag Splitter control from toolbox into your window form just like other control such as [textbox](https://www.mindstick.com/articles/320/textbox-control-in-vb-dot-net), button controls etc. The Splitter control will have two sub [containers](https://www.mindstick.com/interview/2194/which-containers-use-a-flowlayout-as-their-default-layout-in-java) in it. They can be accessed through the **Panel1** and **Panel2** properties.

---

Original Source: https://www.mindstick.com/blog/283/splitter-control-in-c-sharp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
