Skip to main content
A newer version of this page is available. .
Bar

BarItemAlignment Enum

Enumerates possible alignments for bar items.

Namespace: DevExpress.Xpf.Bars

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

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