Back to Devexpress

BarItemAlignment Enum

wpf-devexpress-dot-xpf-dot-bars-6622cde5.md

latest2.0 KB
Original Source

BarItemAlignment Enum

Enumerates possible alignments for bar items.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public enum BarItemAlignment
vb
Public Enum BarItemAlignment

Members

NameDescription
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:

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

BarItemLinkBase.Alignment

BarItem.Alignment

BarItemsAlignment

DevExpress.Xpf.Bars Namespace