DockPanel makes it easier to dock UI elements in the left, right, top, or bottom of the screen. This is often useful, mainly when you want to divide the window into specific areas. For example, a status bar is always kept at the bottom of the window, whereas a menu or a toolbar resides at the topmost position of the window.
This recipe will help you to learn how to dock child elements in an application window.