Back to Devexpress

CoordinatesPanelOptions Class

wpf-devexpress-dot-xpf-dot-map-f8b3cd7b.md

latest4.8 KB
Original Source

CoordinatesPanelOptions Class

Contains options that define the position and layout of the Coordinates Panel element.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public class CoordinatesPanelOptions :
    NavigationElementOptions
vb
Public Class CoordinatesPanelOptions
    Inherits NavigationElementOptions

The following members return CoordinatesPanelOptions objects:

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>

The following code snippets (auto-collected from DevExpress Examples) contain references to the CoordinatesPanelOptions class.

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-load-vector-cartesian-data/CS/MapLesson2/MainWindow.xaml#L18

xml
<dxm:MapControl.CoordinatesPanelOptions>
    <dxm:CoordinatesPanelOptions Visible="False"/>
</dxm:MapControl.CoordinatesPanelOptions>

wpf-map-connect-to-openstreetmap/CS/MainWindow.xaml#L25

xml
<dxm:MapControl.CoordinatesPanelOptions>
    <dxm:CoordinatesPanelOptions VerticalAlignment="Top" HorizontalAlignment="Right" />
</dxm:MapControl.CoordinatesPanelOptions>

wpf-map-search-with-azure-map-search-service/CS/DXMapExample/MainWindow.xaml#L23

xml
<dxm:MapControl.CoordinatesPanelOptions>
    <dxm:CoordinatesPanelOptions Visible="False" />
</dxm:MapControl.CoordinatesPanelOptions>

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject MapElementOptions NavigationElementOptions CoordinatesPanelOptions

See Also

CoordinatesPanelOptions Members

DevExpress.Xpf.Map Namespace