MapElementOptions.HorizontalAlignment Property

Gets or sets the Map UI element’s horizontal position.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v21.1.dll

Declaration

public NavigationElementHorizontalAlignment HorizontalAlignment { get; set; }

Property Value

Type Description
NavigationElementHorizontalAlignment

The Map UI element’s horizontal position.

Available values:

Name Description
Left

A navigation element is docked to the left edge of the map.

Right

A navigation element is docked to the right edge of the map.

Center

A navigation element is horizontally aligned to the center of the map.

Property Paths

You can access this nested property as listed below:

Object Type Path to HorizontalAlignment
MapControl
.ActualZoomTrackbarOptions.HorizontalAlignment
MapEditor
.EditorPanelOptions.HorizontalAlignment
Measurements
.ToolbarOptions.HorizontalAlignment
MeasurementToolbar
.Options.HorizontalAlignment
See Also