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

BarItem.ContentHorizontalAlignment Property

Gets or sets the horizontal alignment mode for this BarItem‘s content.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(BarItemContentAlignment.Default)]
[DXCategory("Appearance")]
[SupportedByBarManager(SupportedByBarManagerKind.Supported)]
[SupportedByRibbon(SupportedByRibbonKind.NonSupported)]
public BarItemContentAlignment ContentHorizontalAlignment { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.BarItemContentAlignment Default

A DevExpress.XtraBars.BarItemContentAlignment enumerator value that specifies the horizontal alignment mode for this BarItem‘s content.

See Also