wpf-devexpress-dot-xpf-dot-map-dot-mapelementoptions-5219d91d.md
Gets or sets the Map UI element’s vertical position.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public NavigationElementVerticalAlignment VerticalAlignment { get; set; }
Public Property VerticalAlignment As NavigationElementVerticalAlignment
| Type | Description |
|---|---|
| NavigationElementVerticalAlignment |
The Map UI element’s vertical position.
|
Available values:
| 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.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VerticalAlignment property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-map-connect-to-openstreetmap/CS/MainWindow.xaml#L16
<dxm:MapControl.ZoomTrackbarOptions>
<dxm:ZoomTrackbarOptions Margin="16" Orientation="Horizontal" VerticalAlignment="Bottom" />
</dxm:MapControl.ZoomTrackbarOptions>
See Also