How to: Add a Map Control via Code
This is a short introductory example, which describes how to add a Map Control to your Windows application in a XAML designer.
- Run MS Visual Studio 2017.
- Create a new Windows Store | Blank App (XAML) project or open an existing one.
Open the Solution Explorer, right-click References and choose Add Reference… to add the Map Control Library.
Then, locate the DevExpress.Visualization assembly and click it.
Repeat this step to add the DevExpress.Core reference.
Click OK to apply changes and close the window.
Write the following (or similar) code.
The MapControl has been added to your application now.