Skip to main content
Bar

StandaloneBarDockControl Class

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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.XtraEditors.XtraControl
DevExpress.XtraBars.Controls.CustomControl
BarDockControl
StandaloneBarDockControl
See Also