Docking in Windows Forms xptoolbar (XPToolbar)

Docking is a process of positioning the control inside the form. The Dock property is used to place the control by left, right, top, bottom, fill and none.

The below code snippets is used to set the docking in XPToolBar.

this.xpToolBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
Me.xpToolBar1.Dock = System.Windows.Forms.DockStyle.Bottom