windowsforms-devexpress-dot-xtrabars-0481602c.md
The control that can accommodate bars and display them at any position within the form.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXLicenseWinForms]
public class StandaloneBarDockControl :
BarDockControl,
IXtraResizableControl
<DXLicenseWinForms>
Public Class StandaloneBarDockControl
Inherits BarDockControl
Implements IXtraResizableControl
The following members return StandaloneBarDockControl objects:
The StandaloneBarDockControl class allows bars to be displayed at any position within the form, not simply docked to the form’s edge. To do this, create a StandaloneBarDockControl object and add bars to it. Bars can be added to the control at design time or runtime via drag and drop:
At runtime, an end-user can add or remove bars from StandaloneBarDockControl controls via drag and drop, and customize the contents of the bars. To save runtime changes to the layout, use one of the SaveLayoutTo… methods provided by the BarManager object (BarManager.SaveLayoutToRegistry, BarManager.SaveLayoutToStream and BarManager.SaveLayoutToXml). To restore the layout later, use a corresponding RestoreLayoutFrom… method (BarManager.RestoreLayoutFromRegistry, BarManager.RestoreLayoutFromStream and BarManager.RestoreLayoutFromXml).
See Toolbar Customization to learn more.
Object MarshalByRefObject Component Control DevExpress.XtraEditors.XtraControl DevExpress.XtraBars.Controls.CustomControl BarDockControl StandaloneBarDockControl
See Also