Getting started with Expression Blend

Microsoft Expression Blend is a tool which provides an interactive, aesthetic environment to create WPF applications. To get started, install Expression Blend 4, Blend for Visual Studio 2012, or Blend for Visual Studfio 2013, for a true visual design-time experience when building WPF applications.

To enhance the developer experience, project templates have been added to Expression Blend 4, Blend for Visual Studio and Blend for Visual Studio 2013. The ArcGIS Runtime SDK for WPF Integration Framework is an optional installation feature included with the ArcGIS Runtime SDK for WPF download. A project template includes all the files and property settings necessary to begin a specific type of WPF project. You can create new projects for customization by using a project template. The project template is available in the languages Visual C# or Visual Basic.

The ArcGIS Runtime SDK 10.2.5 for WPF Application template demonstrates demonstrates how to add online and local service layers to your application.

Getting started with project templates

Working with local data

<!-- Local Tiled Basemap Layer -->
<esri:ArcGISLocalTiledLayer ID="arcGISLocalTiledLayer" Path="C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.5\sdk\samples\data\tpks
\Topographic.tpk"/>

<!--Local Dynamic Layer-->
<esri:ArcGISLocalDynamicMapServiceLayer ID="arcGISLocalDynamicMapServiceLayer" 
Path="C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.5\sdk\samples\data\mpks\USCitiesStates.mpk"/>
<!--Local Feature Layer-->
<esri:ArcGISLocalFeatureLayer ID="arcGISLocalFeatureLayer" 
Path= "C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.5\sdk\samples\data\mpks\USCitiesStates.mpk" LayerName="Cities"/>

LocalMapService.GetServiceAsync(@"C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.5\sdk\samples\data\mpks\USCitiesStates.mpk", 
(localMapService) =>
            {
                ArcGISLocalDynamicMapServiceLayer arcGISLocalDynamicMapServiceLayer = new ArcGISLocalDynamicMapServiceLayer()
                {
                    Service = localMapService,
                    ID = "Cities",
                };
                _mapControl.Layers.Add(arcGISLocalDynamicMapServiceLayer);
            });

License the application for deployment

Related Topics

1/27/2015