Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutSettings.ImageHorizontalAlignment Property

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

Namespace: DevExpress.Xpf.NavBar

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

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public HorizontalAlignment ImageHorizontalAlignment { 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 ImageHorizontalAlignment
LayoutSettings
.Default .ImageHorizontalAlignment
NavBarGroup
.ActualLayoutSettings .ImageHorizontalAlignment
NavBarGroup
.ItemLayoutSettings .ImageHorizontalAlignment
NavBarGroup
.LayoutSettings .ImageHorizontalAlignment
NavBarItem
.ActualLayoutSettings .ImageHorizontalAlignment
NavBarItem
.LayoutSettings .ImageHorizontalAlignment
NavBarItemControl
.LayoutSettings .ImageHorizontalAlignment
NavBarViewBase
.GroupLayoutSettings .ImageHorizontalAlignment
NavBarViewBase
.ItemLayoutSettings .ImageHorizontalAlignment

#Remarks

Use the ImageHorizontalAlignment property to specify the horizontal alignment of an image within its container.

See Also