Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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