How to: Create and float a panel
In the following example a new panel is created and floated in the bottom right corner of the screen.
using DevExpress.XtraBars.Docking; // ... // Create a panel and make it floated. DockPanel p1 = dockManager1.AddPanel(DockingStyle.Float); p1.Text = "Panel 1"; // ... p1.FloatSize = new Size(100, 150); Point pt = new Point(Screen.PrimaryScreen.WorkingArea.Width - p1.Width, Screen.PrimaryScreen.WorkingArea.Height - p1.Height); // Move the panel to the bottom right corner of the screen. p1.MakeFloat(pt);