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

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.NavBar, DevExpress.Wpf.Navigation

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
ExplorerBarView
.ItemLayoutSettings .ImageHorizontalAlignment
NavBarGroup
.ActualLayoutSettings .ImageHorizontalAlignment
NavBarItem
.LayoutSettings .ImageHorizontalAlignment
NavBarItemControl
.LayoutSettings .ImageHorizontalAlignment
NavBarViewBase
.ItemLayoutSettings .ImageHorizontalAlignment
NavigationPaneView
.ItemLayoutSettings .ImageHorizontalAlignment
SideBarView
.ItemLayoutSettings .ImageHorizontalAlignment

Remarks

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

See Also