Skip to main content
Bar

BarDockInfo Members

Contains information on the dock position of a bar.

Constructors

Name Description
BarDockInfo() Initializes a new instance of the BarDockInfo class.
BarDockInfo(Bar) Initializes a new instance of the BarDockInfo class with the specified bar.

Fields

Name Description
BarProperty static Identifies the BarDockInfo.Bar dependency property.
ColumnProperty static Identifies the BarDockInfo.Column dependency property.
ContainerNameProperty static Identifies the BarDockInfo.ContainerName dependency property.
ContainerProperty static Identifies the BarDockInfo.Container dependency property.
ContainerTypeProperty static Identifies the BarDockInfo.ContainerType dependency property.
FloatBarOffsetProperty static Identifies the BarDockInfo.FloatBarOffset dependency property.
FloatBarWidthProperty static Identifies the BarDockInfo.FloatBarWidth dependency property.
FloatingContainerName Returns the name of a floating BarContainerControl that contains the current bar.
IsFloatingProperty static Identifies the BarDockInfo.IsFloating dependency property.
OffsetProperty static Identifies the BarDockInfo.Offset dependency property.
RowProperty static Identifies the BarDockInfo.Row dependency property.
ShowHeaderInFloatBarProperty static Identifies the BarDockInfo.ShowHeaderInFloatBar dependency property.

Properties

Name Description
Bar

Gets or sets a bar that owns the current object. This is a dependency property.

BarRect Gets the rectangle occupied by the bar.
Column

Gets or sets the bar’s zero-based column index, which defines the bar’s horizontal position among other bars displayed in the same row. This is a dependency property.

Container

Gets or sets the container that displays the current bar. This is a dependency property.

ContainerName

Gets or sets the name of the container that displays the current bar. This is a dependency property.

ContainerType

Gets or sets the type of container that displays the current bar. This value matches the BarContainerControl.ContainerType property. This is a dependency property.

FloatBarOffset

Gets or sets the offset of the bar when it’s in the floating state. This is a dependency property.

FloatBarWidth

Gets or sets the bar’s width when it’s in the floating state. This is a dependency property.

IsFloating This member supports the internal infrastructure, and is not intended to be used directly from your code. To specify whether the current bar should be floating, use the BarDockInfo.ContainerType property instead.
Offset

Gets or sets the bar’s offset from the left or top border of the bar container, based on the container’s orientation. This property is in effect when the bar is docked to a container. This is a dependency property.

Row

Gets or sets the bar’s zero-based row index, which defines the bar’s vertical position among other bars within the bar container. This is a dependency property.

ShowCloseButtonInFloatBar

Gets whether a close (‘x’) button is displayed within a bar, when it’s floating. This is a dependency property.

ShowHeaderInFloatBar

Gets or sets whether to display a title for a bar when it’s floating. This is a dependency property.

Methods

Name Description
Reset() Resets the current object’s settings (BarDockInfo.Container, BarDockInfo.Row, BarDockInfo.Column and BarDockInfo.Offset).
Reset(Boolean) Resets all BarDockInfo settings to their default values.

Events

Name Description
ContainerTypeChanged Fires in response to changing the BarDockInfo.ContainerType property’s value.
WeakContainerTypeChanged This member supports the internal infrastructure, and is not intended to be used directly from your code.
See Also