Skip to content
Morten Nielsen edited this page Mar 14, 2014 · 9 revisions

Controls

Once a reference to the ArcGIS Toolkit is made in a project, register the xmlns namespace in the Page or UserControl where you want to use a Toolkit control:

Windows Store:

  xmlns:esriTK="using:Esri.ArcGISRuntime.Toolkit.Controls" 

Windows Phone:

  xmlns:esriTK="clr-namespace:Esri.ArcGISRuntime.Toolkit.Controls;assembly:Esri.ArcGISRuntime.Toolkit" 

WPF: WPF supports broader namespace registration and you can use the same prefix you use for the .NET Runtime SDK.

  xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013" 

Note: Some of the following examples assumes an ArcGIS map view control named 'MyMapView' containing an ArcGIS map named 'MyMap' is present.