Docking in Windows Forms xp toolbar (XPToolbar)

29 Apr 20211 minute to read

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