ThinkGeo.com    |     Documentation    |     Premium Support

Applications WPF with MapSuiteDesktop

I am creating project WPF but I cannot use the tools of you. Some guide to use MapsuiteDEsktop with Applications WPF






 


Alan,


We didn't have a Quick Start Guide for the WPF control. We will work on it and for now, here are some tips how to create a WPF app with Map Suite Desktop Edition.


1, Add the control to ToolBox


Right click any item in ToolBox and select “Choose Items...”, go to “WPF Components” tab and then click “Browse...”.  Please note that if you click the “Browse...” button within the Tab “.NET Framework Components”, you cannot add the corresponding WPF component from DesktopEdition.dll.



2, For the other part, it's similar as WinForms edition. Drag and drop the component to *.xaml page and add code to the corresponding *.xaml.cs file or set some properties in xaml file, like how we did for web application. (*.aspx and *.aspx.cs)


Here is a small WPF demo for you to give you a quick start. Let me know if you have any issues.


Thanks,


Ben


 


 



558-WpfDemoWithMapClick.zip (102 KB)