Back to Devexpress

LayoutSettings.TextHorizontalAlignment Property

wpf-devexpress-dot-xpf-dot-navbar-dot-layoutsettings-d5b870b7.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public HorizontalAlignment TextHorizontalAlignment { get; set; }
vb
Public Property TextHorizontalAlignment As HorizontalAlignment

Property Value

TypeDescription
HorizontalAlignment

One of the HorizontalAlignment enumeration values.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to TextHorizontalAlignment
LayoutSettings

.Default .TextHorizontalAlignment

| | NavBarGroup |

.ActualLayoutSettings .TextHorizontalAlignment

| | NavBarGroup |

.ItemLayoutSettings .TextHorizontalAlignment

| | NavBarGroup |

.LayoutSettings .TextHorizontalAlignment

| | NavBarItem |

.ActualLayoutSettings .TextHorizontalAlignment

| | NavBarItem |

.LayoutSettings .TextHorizontalAlignment

| | NavBarItemControl |

.LayoutSettings .TextHorizontalAlignment

| | NavBarViewBase |

.GroupLayoutSettings .TextHorizontalAlignment

| | NavBarViewBase |

.ItemLayoutSettings .TextHorizontalAlignment

|

Remarks

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

See Also

TextVerticalAlignment

ImageHorizontalAlignment

LayoutSettings Class

LayoutSettings Members

DevExpress.Xpf.NavBar Namespace