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

asked on

Trouble with WindowsFormsHost

I am trying to get a MapPoint control displayed inside a WPF page and the instruction page has left me confused.
http://www.mapforums.com/wpf-mappoint-control-7768.html

I have done everything up to (and including) creating this XAML:
<WindowsFormsHost x:Name="zoneAx" Canvas.Top="60" Canvas.Left="10" Width="780" Height="300">
</WindowsFormsHost>
 
and it compiles.  But I do not understand whether I should put something inside these tags, or if the name "zoneAX" must match the name used for the WinForms User Control.

Also, there is no "Loaded" event, so I have not completed the last 2 steps.


I would just love to see someone string with WPF explain how it all should fit, or even try and do it themselves by using the free MapPoint download.

Trial MapPoint (full version)
http://www.microsoft.com/downloads/details.aspx?FamilyID=afece5c3-b48b-417d-8dae-de9616b16d18&displaylang=en

Hope to hear from you.  I am stuck and the project deadline would force me to not use WPF.

:(

Thanks,
newbieweb
ASKER CERTIFIED SOLUTION
Avatar of bkokx
bkokx
Flag of Netherlands 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 will give it a try...