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.

NavigationElementVerticalAlignment Enum

Lists the values used to specify the vertical 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 NavigationElementVerticalAlignment


Name Description

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


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


A navigation element is vertically aligned in the center of the map.

Related API Members

The following properties accept/return NavigationElementVerticalAlignment values:


The values listed by the NavigationElementVerticalAlignment enumeration are used to set the DevExpress.Xpf.Map.NavigationElementOptions.VerticalAlignment 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