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

BarDockControl Class

Represents a Bar Dock Control.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class BarDockControl :
    CustomControl

#Remarks

The BarDockControl class represents a control which accommodates bars when they are docked to a form (or a user control). Four bar dock controls are automatically created by the BarManager component when it’s added to the form and there is no need to create controls manually. The created bar dock controls are docked to the form’s top, bottom, right and left edges respectively.

The BarDockControl.Controls property allows you to access the bars that are currently displayed within a bar dock control. Thus it’s possible to determine which bars are displayed at any form’s edge.

To customize the appearance settings of bar dock controls use the BarDockControl.Appearance property.

For more information on bar dock controls see Toolbar Customization.

#Inheritance

Object
MarshalByRefObject
Component
Control
DevExpress.XtraEditors.XtraControl
DevExpress.XtraBars.Controls.CustomControl
See Also