Skip to main content

OfficeNavigationBar.HorizontalContentAlignment Property

Gets or sets the horizontal alignment of items.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(HorzAlignment.Default)]
[DXCategory("Appearance")]
public HorzAlignment HorizontalContentAlignment { get; set; }

Property Value

Type Default Description
HorzAlignment Default

A value that specifies the horizontal alignment of items.

Available values:

Name Description
Default

Places an object or text at the default position, which is determined by a control.

Near

Places an object/text at a near position.

Center

Centers an object or text within a region.

Far

Places an object/text at a far position.

See Also