<?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 Re: How to setup an ElementName property for a binding from a different xaml file? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-setup-an-elementname-property-for-a-binding/m-p/314462#M8082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this could be a related thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/15944-How-to-binding-mainpage-s-map"&gt;http://forums.arcgis.com/threads/15944-How-to-binding-mainpage-s-map&lt;/A&gt;&lt;SPAN&gt;. In this case, Element binding need to be replaced. Kindly see attached sample in Post#12.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 20:50:40 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-08-24T20:50:40Z</dc:date>
    <item>
      <title>How to setup an ElementName property for a binding from a different xaml file?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-setup-an-elementname-property-for-a-binding/m-p/314461#M8081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to use the esri:Editor and put it into a separate file (e.g., editor.xaml) from MainPage.xaml. However, there is a Map property for this esri.Editor that I need to setup the binding. If this esri:Editor is in MainPage.xaml, the code should be &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Grid.Resources&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Editor x:Key="MyEditor2" x:Name="EditPolygon" Map="{Binding ElementName=MyMap}"&amp;nbsp; LayerIDs="Polygon" GeometryServiceUrl="" /&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Grid.Resources&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone tell me how to bind this MyMap element from MainPage.xaml to the Map property in the editor.xaml?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 14:45:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-setup-an-elementname-property-for-a-binding/m-p/314461#M8081</guid>
      <dc:creator>weiliang</dc:creator>
      <dc:date>2011-08-23T14:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup an ElementName property for a binding from a different xaml file?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-setup-an-elementname-property-for-a-binding/m-p/314462#M8082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this could be a related thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/15944-How-to-binding-mainpage-s-map"&gt;http://forums.arcgis.com/threads/15944-How-to-binding-mainpage-s-map&lt;/A&gt;&lt;SPAN&gt;. In this case, Element binding need to be replaced. Kindly see attached sample in Post#12.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 20:50:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-setup-an-elementname-property-for-a-binding/m-p/314462#M8082</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-08-24T20:50:40Z</dc:date>
    </item>
  </channel>
</rss>

