<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic WPF vs Silverlight in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wpf-vs-silverlight/m-p/311221#M7999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see lots of sample here on this forum regarding Silverlight. My question is do theses samples and issues apply to WPF?&amp;nbsp; Can I use the same interactive sample for Silverlight for a WPF app? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts, ideas or comments will be useful especially from anyone creating WPF apps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2011 17:04:55 GMT</pubDate>
    <dc:creator>AngelGonzalez</dc:creator>
    <dc:date>2011-03-17T17:04:55Z</dc:date>
    <item>
      <title>WPF vs Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wpf-vs-silverlight/m-p/311221#M7999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see lots of sample here on this forum regarding Silverlight. My question is do theses samples and issues apply to WPF?&amp;nbsp; Can I use the same interactive sample for Silverlight for a WPF app? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts, ideas or comments will be useful especially from anyone creating WPF apps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 17:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wpf-vs-silverlight/m-p/311221#M7999</guid>
      <dc:creator>AngelGonzalez</dc:creator>
      <dc:date>2011-03-17T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: WPF vs Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wpf-vs-silverlight/m-p/311222#M8000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are some subtle differences in the two platforms.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The interactive SDK for Silverlight has a WPF equivalent which is available for download here: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/index.html#//01660000000v000000.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/help/index.html#//01660000000v000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To note some of their differences:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In SL, element binding is allowed under resources.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;Grid x:Name="LayoutRoot"&amp;gt;
 &amp;lt;Grid.Resources&amp;gt;
&amp;nbsp; &amp;lt;esri:Editor x:Key="MyEditor" Map="{Binding ElementName=MyMap}"/&amp;gt;
 &amp;lt;/Grid.Resources&amp;gt;
&amp;lt;/Grid&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In WPF, you need to do this in code-behind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In SL, you can change cursor with: (Note TargetProperty and DiscreteObjectKeyFrame.Value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;ObjectAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="root" Storyboard.TargetProperty="Cursor"&amp;gt;
 &amp;lt;DiscreteObjectKeyFrame KeyTime="0" Value="None" /&amp;gt;
&amp;lt;/ObjectAnimationUsingKeyFrames&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In WPF, you need to &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;ObjectAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetName="root" Storyboard.TargetProperty="(FrameworkElement.Cursor)"&amp;gt;
 &amp;lt;DiscreteObjectKeyFrame KeyTime="0"&amp;gt;
&amp;nbsp; &amp;lt;DiscreteObjectKeyFrame.Value&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Cursor&amp;gt;None&amp;lt;/Cursor&amp;gt;
&amp;nbsp; &amp;lt;/DiscreteObjectKeyFrame.Value&amp;gt;
 &amp;lt;/DiscreteObjectKeyFrame&amp;gt;
&amp;lt;/ObjectAnimationUsingKeyFrames&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wpf-vs-silverlight/m-p/311222#M8000</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T14:52:44Z</dc:date>
    </item>
  </channel>
</rss>

