Back to Devexpress

Bar.BarItemsAlignment Property

wpf-devexpress-dot-xpf-dot-bars-dot-bar-68d10702.md

latest2.0 KB
Original Source

Bar.BarItemsAlignment Property

Gets or sets the default alignment of all bar item links that reside within the current bar.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public BarItemAlignment BarItemsAlignment { get; set; }
vb
Public Property BarItemsAlignment As BarItemAlignment

Property Value

TypeDescription
BarItemAlignment

A BarItemAlignment value that specifies the default alignment of all bar item links that reside within the current bar.

|

Available values:

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.

|

Remarks

The BarItemsAlignment property specifies the default alignment of bar item links displayed within the current bar. You can override this alignment setting for individual bar items via the BarItem.Alignment property, and for individual bar item links via the BarItemLinkBase.Alignment property.

If the BarItemsAlignment property is set to Default , bar item links are aligned, by default, at the bar’s nearest edge.

See Also

BarItem.Alignment

BarItemLinkBase.Alignment

Bar Class

Bar Members

DevExpress.Xpf.Bars Namespace