Skip to main content
Bar

BarDockInfo Class

Contains information on the dock position of a bar.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public class BarDockInfo :
    DependencyObject

#Returned By

The Bar.DockInfo property returns an instance of BarDockInfo.

#Remarks

A bar can be docked to a form by binding it to a specific bar container via the Bar.DockInfo property. To bind the bar to a bar container, use the BarDockInfo.ContainerType, BarDockInfo.Container or BarDockInfo.ContainerName property. When using these properties, ensure that the required bar container exists. See BarContainerControl to learn more.

To make a bar floating, set the BarDockInfo.ContainerType property to Floating.

See Also