I installed the ArcGIS .Net Toolkit but i cant see the controls, for example MapView, in the Toolbox ?
Hi Shiomo,
What version of the .NET Toolkit did you install and what version of ArcGIS do you have?
Hi,
actualy i am working with VS 2015 Express .Net 4.6 and ArcGIS Runtime for
Desktop Ver 10.2.7 on Win 10.
I noticed that the MapView control is shown in the Toolbox only in WPF
projects and not in WinForms projects.
I need to create a WinForm project. in that case, how can i use the MapView
control or other way to display a map on the form.
Thanks Ahead
Shlomo
2016-05-09 3:28 GMT+03:00 Adrian Welsh <geonet@esri.com>:
GeoNet <https://community.esri.com/?et=watches.email.thread>
I installed the ArcGIS .Net Toolkit but i cant see the controls, for
example MapView, in the Toolbox ?
reply from Adrian Welsh
<https://community.esri.com/people/MidnightYell2003?et=watches.email.thread>
in ArcGIS Runtime SDK for .NET - View the full discussion
<https://community.esri.com/message/607042?et=watches.email.thread#comment-607042>
Hi,
For MapView, SceneView, etc you need the main API package: NuGet Gallery | ArcGIS Runtime SDK for .NET 10.2.7.1234. The toolkit contains additional controls which we open source for you to tailor to your needs (attribution, legend, scaleline, etc) - for more info see: GitHub - Esri/arcgis-toolkit-dotnet: Toolkit for the ArcGIS Runtime SDK for .NET
The MapView is a WPF control therefore to use in WinForms you will need to use the ElementHost control which hosts WPF inside WinForms. It's not a scenario we officially test or certify but others have had success using this approach.
Cheers
Mike