Back to Devexpress

BarItemLinkBase.Alignment Property

wpf-devexpress-dot-xpf-dot-bars-dot-baritemlinkbase-fdad98f0.md

latest1.9 KB
Original Source

BarItemLinkBase.Alignment Property

Gets or sets the alignment of the current link, when it is displayed within a bar.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
BarItemAlignment

A BarItemAlignment value that specifies the link’s alignment.

|

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

If the Alignment property is set to Default , the link’s alignment is determined by the corresponding bar item’s alignment (the BarItem.Alignment property). If the bar item’s BarItem.Alignment property is also set to Default , the link’s alignment is specified by the bar’s Bar.BarItemsAlignment property.

See Also

BarItemsAlignment

Alignment

BarItemLinkBase Class

BarItemLinkBase Members

DevExpress.Xpf.Bars Namespace