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

Declaration

public enum NavigationElementVerticalAlignment
Public Enum NavigationElementVerticalAlignment

Members

Name Description
Top

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

Bottom

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

Center

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

Passed To

You can pass NavigationElementVerticalAlignment values to the MapElementOptions.VerticalAlignment property.

Remarks

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

Examples

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.

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