Use the Bar.DockStyle property to specify a bar's dock style. For instance, setting this property to Left docks the bar to the left edge of its container.
Bar dock controls provide the read-only BarDockControl.DockStyle property, ,allowing you to get how a control is docked. For standalone bar dock controls, the DockStyle property always returns Standalone.