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

LayoutSettings.TextHorizontalAlignment Property

Gets or sets the horizontal alignment of the text within a parent’s layout slot. This is a dependency property.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v19.1.dll

Declaration

public HorizontalAlignment TextHorizontalAlignment { get; set; }

Property Value

Type Description
HorizontalAlignment

One of the HorizontalAlignment enumeration values.

Property Paths

You can access this nested property as listed below:

Object Type Path to TextHorizontalAlignment
ExplorerBarView
.ItemLayoutSettings.TextHorizontalAlignment
NavBarGroup
.ActualLayoutSettings.TextHorizontalAlignment
NavBarItem
.LayoutSettings.TextHorizontalAlignment
NavBarItemControl
.LayoutSettings.TextHorizontalAlignment
NavBarViewBase
.ItemLayoutSettings.TextHorizontalAlignment
NavigationPaneView
.ItemLayoutSettings.TextHorizontalAlignment
SideBarView
.ItemLayoutSettings.TextHorizontalAlignment

Remarks

Use the TextHorizontalAlignment property to specify the horizontal alignment of a text within its container.

See Also