You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

NavigationElementHorizontalAlignment Enum

Lists the values used to specify the horizontal alignment of map navigation elements (e.g. Zoom Trackbar, Scroll Buttons, etc.).

Namespace: DevExpress.Xpf.Map

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


public enum NavigationElementHorizontalAlignment


Name Description

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


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


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

Related API Members

The following properties accept/return NavigationElementHorizontalAlignment values:


The values listed by the NavigationElementHorizontalAlignment enumeration are used to set the DevExpress.Xpf.Map.NavigationElementOptions.HorizontalAlignment property.


The following example demonstrates how to customize the appearance, position and visibility of map navigation elements: Zoom Trackbar, Scroll Buttons, Scale Panel and Coordinates Panel.

View Example

    <dxm:ZoomTrackbarOptions Margin="16" Orientation="Horizontal" VerticalAlignment="Bottom" />
    <dxm:ScrollButtonsOptions VerticalAlignment="Bottom" HorizontalAlignment="Right" />
    <dxm:ScalePanelOptions HorizontalAlignment="Right" VerticalAlignment="Bottom" Visible="False" />
    <dxm:CoordinatesPanelOptions VerticalAlignment="Top" HorizontalAlignment="Right" />
See Also