Back to Devexpress

ToolBarControlBase.BarItemsAlignment Property

wpf-devexpress-dot-xpf-dot-bars-dot-toolbarcontrolbase-51eb2494.md

latest1.9 KB
Original Source

ToolBarControlBase.BarItemsAlignment Property

Gets or sets the default alignment for all bar items that reside in the current tool 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 for all bar item links that reside in the current tool 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 for bar items displayed in the current tool bar. You can override this alignment setting for individual bar items using the BarItem.Alignment property.

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

See Also

Alignment

ToolBarControlBase Class

ToolBarControlBase Members

DevExpress.Xpf.Bars Namespace