Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

StandaloneBarDockControl Class

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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