Back to Devexpress

BarItem.ContentHorizontalAlignment Property

windowsforms-devexpress-dot-xtrabars-dot-baritem-7355602d.md

latest1.6 KB
Original Source

BarItem.ContentHorizontalAlignment Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(BarItemContentAlignment.Default)]
[DXCategory("Appearance")]
[SupportedByBarManager(SupportedByBarManagerKind.Supported)]
[SupportedByRibbon(SupportedByRibbonKind.NonSupported)]
public BarItemContentAlignment ContentHorizontalAlignment { get; set; }
vb
<DefaultValue(BarItemContentAlignment.Default)>
<SupportedByBarManager(SupportedByBarManagerKind.Supported)>
<SupportedByRibbon(SupportedByRibbonKind.NonSupported)>
<DXCategory("Appearance")>
Public Property ContentHorizontalAlignment As BarItemContentAlignment

Property Value

TypeDefaultDescription
DevExpress.XtraBars.BarItemContentAlignmentDefault

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

|

See Also

BarItem Class

BarItem Members

DevExpress.XtraBars Namespace