BarDockInfo.ContainerType Property
Gets or sets the type of container that displays the current bar. This value matches the BarContainerControl.ContainerType property. This is a dependency property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Bar |
A Bar |
#Remarks
For a bar to be displayed on-screen, it must be associated with a specific bar container (a BarContainerControl object). It can be associated with a bar container via the BarDockInfo.Container, BarDockInfo.ContainerName or ContainerType property.
Setting the ContainerType property locates a BarContainerControl object whose BarContainerControl.ContainerType property's value matches the assigned value. If this container is found, it's assigned to the BarDockInfo.Container property, and its name is assigned to the BarDockInfo.ContainerName property.