Back to Devexpress

OfficeNavigationBar.HorizontalContentAlignment Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-officenavigationbar-29bbbb35.md

latest1.8 KB
Original Source

OfficeNavigationBar.HorizontalContentAlignment Property

Gets or sets the horizontal alignment of items.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(HorzAlignment.Default)]
[DXCategory("Appearance")]
public HorzAlignment HorizontalContentAlignment { get; set; }
vb
<DefaultValue(HorzAlignment.Default)>
<DXCategory("Appearance")>
Public Property HorizontalContentAlignment As HorzAlignment

Property Value

TypeDefaultDescription
HorzAlignmentDefault

A value that specifies the horizontal alignment of items.

|

Available values:

NameDescription
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

Items

OfficeNavigationBar Class

OfficeNavigationBar Members

DevExpress.XtraBars.Navigation Namespace