Skip to main content
Bar

BarItemLinkBase.VerticalAlignment Property

Gets or sets the current BarItemLink‘s vertical alignment within the parent container. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public VerticalAlignment VerticalAlignment { get; set; }

Property Value

Type Description
VerticalAlignment

A System.Windows.VerticalAlignment enumerator value specifying the current BarItemLink‘s vertical alignment within the parent container. Default is VerticalAlignment.Stretch.

Remarks

The VerticalAlignment property can be useful when adding links to narrow items, such as progress bars. This allows you to modify the default behavior when any item is stretched within its parent container and re-arrange desired items. The figure below illustrates different options of the item’s vertical alignment.

Bars VerticalAlignment Example

See Also