ESRI Silverlight & WPF

From Richard's Wiki
Revision as of 19:40, 2 March 2010 by Rkdrm (Talk | contribs)

Jump to: navigation, search


How to fix design-time problems in VS2008

To get this version of WPF samples to work correctly at design time, I had to do the following as well as instructions included in the samples page (http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/index.html , Samples/Interactive SDK section, at the bottom of the page refers to the WPF SDK download)::


  • Download & install the Expression Blend 3 SDK from here:
 http://www.microsoft.com/downloads/details.aspx?FamilyID=f1ae9a30-4928-411d-970b-e682ab179e17&displaylang=en


  • Add the following two references to the project (these are redistributables):
 Microsoft.Expression.Interactions
 System.Windows.Interactivity
 
 
  • In the solution, edit the file LightPage.xaml ,and change references to each of the following:
   {StaticResource HoverShineBrush}
   {StaticResource PressedBrush}
   {StaticResource ShineBrush}
   {StaticResource HoverShineBrush}
 to:
   {StaticResource HoverBrush}