Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

I need to add a MapPoint control to a WPF Grid

I used an ElementHost inside a WinForms application to hold a WPF control, which contains a Grid.  But I would like to add a MapPoint control to that Grid.

Can someone please explain how to do that?

Using Visual Studio Express 2010 I have not added the MapPoint control to the IDE, which I recall I did in the past for Visual Studio 2010.

Please let me know how to proceed.

Thanks,
newbieweb
ASKER CERTIFIED SOLUTION
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

I am trying this but not succeeding...
I got this far:

- created a new Window Form
- created a WinForms User Control, and added a MapPoint control to it
- created a WPF


I see no event (which they discuss) called "Loaded".

I get it to compile and run, but the MapPoint control is blank.  Any ideas?


 
Thanks.
did your problem solved?
if not, upload your xaml here
I found that I may not have been initializing the dialog properly and the MapPoint initialization was not taking place.

I'll get to the bottom of that in the next few minutes and post another question if needed.

Thanks,
newbieweb
your welcome,
glad to help,
Regards,