Back to Devexpress

MapZoomTrackbarOrientation Enum

wpf-devexpress-dot-xpf-dot-map-9ce5f3c5.md

latest3.0 KB
Original Source

MapZoomTrackbarOrientation Enum

Lists the values used to specify the orientation of the Zoom Trackbar.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public enum MapZoomTrackbarOrientation
vb
Public Enum MapZoomTrackbarOrientation

Members

NameDescription
Vertical

The Zoom Trackbar is painted from the top to the bottom.

| | Horizontal |

The Zoom Trackbar is painted from the left to the right.

|

The following properties accept/return MapZoomTrackbarOrientation values:

Remarks

The values listed by the MapZoomTrackbarOrientation enumeration are used to set the ZoomTrackbarOptions.Orientation property.

Example

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

xaml
<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

DevExpress.Xpf.Map Namespace