wpf-devexpress-dot-xpf-dot-bars-6622cde5.md
Enumerates possible alignments for bar items.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public enum BarItemAlignment
Public Enum BarItemAlignment
| 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.
|
The following properties accept/return BarItemAlignment values:
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