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

BarItemAlignment Enum

Enumerates possible alignments for bar items.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public enum BarItemAlignment

#Members

Name Description
Default

A bar item’s default alignment.

Near

A bar item link is aligned to the nearest edge of the parent bar.

Far

A bar item link is aligned to the far edge of the parent bar.

#Related API Members

The following properties accept/return BarItemAlignment values:

#Remarks

You can set the alignment for all bar items links residing within a bar, via the Bar.BarItemsAlignment property. The BarItem.Alignment property allows you to override this default alignment for bar item links that refer to a specific bar item. Finally, it is possible to set the alignment for individual bar item links, via the BarItemLinkBase.Alignment property.

See Also