Use this method to dock the Splitter from a code.
before as Boolean)
- If set to true then it will dock to before of the splitter (top or left depending on orientation), if set to false then it will dock to after (bottom or right depending on orientation).
The splitter will not dock unless it is correctly configured to dock in the requested direction. See the DockAfter,DockAfterSize, DockBefore and DockBeforeSize properties to correctly set the Splitter to dock.