Skip to main content

LayoutSettings.TextVerticalAlignment Property

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

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v21.2.dll

Declaration

public VerticalAlignment TextVerticalAlignment { get; set; }

Property Value

Type Description
VerticalAlignment

One of the VerticalAlignment enumeration values.

Property Paths

You can access this nested property as listed below:

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

Remarks

Use the TextVerticalAlignment property to specify the vertical alignment of a text within its container.

See Also