Use the Dock property to define how a control is automatically resized as its parent control is resized. You can only set the Dock property to Top, Bottom, Left, or Right. 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 to an edge of a container, and then dock a Splitter control to the same side of that container. For more information, see the example in the Splitter class.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)