Skip to main content
A newer version of this page is available. .
Bar

StandaloneBarDockControl Class

The control that can accommodate bars and display them at any position within the form.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[ToolboxBitmap(typeof(ToolboxIconsRootNS), "StandaloneBarDockControl")]
public class StandaloneBarDockControl :
    BarDockControl,
    IXtraResizableControl

The following members return StandaloneBarDockControl objects:

Remarks

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:

Standalonebardockcontrol

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.

Inheritance

Object
MarshalByRefObject
Component
Control
DevExpress.XtraBars.Controls.CustomControl
BarDockControl
StandaloneBarDockControl
See Also