|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
SplitContainer Control (Windows Forms)
The Windows Forms SplitContainer control can be thought of as a composite; it is two panels separated by a movable bar. When the mouse pointer is over the bar, the pointer changes shape to show that the bar is movable.
In the Toolbox, this control replaces thecontrol that was there in the previous version of Visual Studio. The SplitContainer control is much preferred over the Splitter control. The Splitter class is still included in the .NET Framework for compatibility with existing applications, but we strongly encourage you to use the SplitContainer control for new projects.
The SplitContainer control lets you create complex user interfaces; often, a selection in one panel determines what objects are shown in the other panel. This arrangement is very effective for displaying and browsing information. Having two panels allow you to aggregate information in areas, and the bar, or "splitter," makes it easy for users to resize the panels.
In This Section
Introduces the SplitContainer control and describes the commonly used properties, methods, and events.
Describes how to control the splitter within the SplitContainer control.
Describes how to control the orientation of the splitter within the SplitContainer control.
Creates a multi-pane user interface that is similar to the one used in Microsoft Outlook.
Describes this class and has links to all its members.