Bar

BarItemAlignment Enum

Enumerates possible alignments for bar items.

Namespace: DevExpress.Xpf.Bars

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

Declaration

public enum BarItemAlignment
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:

Library Related API Members
WPF Controls Bar.BarItemsAlignment
BarItem.Alignment
BarItemLinkBase.Alignment
ToolBarControlBase.BarItemsAlignment
Silverlight Controls Bar.BarItemsAlignment
BarItem.Alignment
BarItemLinkBase.Alignment

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