Back to Devexpress

MapControl.CenterPoint Property

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-6f3b9b08.md

latest1.8 KB
Original Source

MapControl.CenterPoint Property

Gets or sets a point that should be placed at the map center.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public CoordPoint CenterPoint { get; set; }
vb
Public Property CenterPoint As CoordPoint

Property Value

TypeDescription
CoordPoint

A CoordPoint object that specifies the map center in geographical coordinates.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CenterPoint 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-load-vector-cartesian-data/CS/MapLesson2/MainWindow.xaml#L14

xml
</dxm:MapControl.Legends>
<dxm:MapControl.CenterPoint>
    <dxm:CartesianPoint X="-82" Y="-47"/>

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace