Back to Devexpress

BarDockControl Class

windowsforms-devexpress-dot-xtrabars-e510e62a.md

latest2.5 KB
Original Source

BarDockControl Class

Represents a Bar Dock Control.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class BarDockControl :
    CustomControl
vb
Public Class BarDockControl
    Inherits 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 BarDockControl StandaloneBarDockControl

See Also

BarDockControl Members

Toolbar Customization

DevExpress.XtraBars Namespace