Back to Devexpress

How to: Add a Map Control at Design Time

wpf-10891-controls-and-libraries-map-control-examples-general-how-to-add-a-map-control-at-design-time.md

latest1.3 KB
Original Source

How to: Add a Map Control at Design Time

  • Jun 19, 2025

This is a short introductory example, which describes how to add a Map Control to your WPF application at design time within Visual Studio.

  • Run Microsoft Visual Studio.

  • Create a new WPF Application project or open an existing one.

  • Switch to the Window designer.

  • On a Visual Studio toolbox, expand the DX.25.2: Data & Analytics tab, locate the MapControl item and drop it onto the window.

  • Right-click the MapControl object and choose the Layout | Reset All option in the context menu. This will stretch the Map control to fill the whole window.

That’s all - the MapControl has been added to your application.

See Also

How to: Add a Map Control via XAML

How to: Add a Map Control at Runtime

How to: Customize Navigation Elements

How to: Add a Mini Map to the Map