Select to view content in your preferred language

WinForms or WPF for extending ArcGIS Explorer

2426
1
08-25-2010 11:48 AM
JerryGarcia
Occasional Contributor II
I understand ArcGIS Explorer is WinForms based. 

What are the drawbacks to extending ArcGIS Explorer using WPF controls?

Can this be done?

Thanks!
0 Kudos
1 Reply
MikeRudden
New Contributor
Hi Jerry,

You've got 2 choices for extending the UI in Explorer - you can either create a DockWindow Add-in or you can create Button Add-in from which you can launch a windows form. In both cases you can add WPF controls to the canvas should you wish to, but they must be contained within ElementHost controls.

One of my colleagues developed an Overview map DockWindow Add-in which demonstrates the use of the WPF MapControl from the ArcGIS for Silverlight/WPF API. He found that not all assembly references were resolved automatically, so had to add some extra code to do this.

Regards
Mike Rudden
ESRI
0 Kudos