curiouswebster
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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?
- 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?
ASKER
Thanks.
did your problem solved?
if not, upload your xaml here
if not, upload your xaml here
ASKER
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
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,
glad to help,
Regards,
ASKER