<?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 do you resolve targetname if your target object is in another xmal? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-you-resolve-targetname-if-your-target/m-p/197081#M4865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't reference target names across XAML files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need a reference, create a property on the controls that you can use as a "binding bridge" between them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 04:19:07 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2010-10-22T04:19:07Z</dc:date>
    <item>
      <title>how do you resolve targetname if your target object is in another xmal?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-you-resolve-targetname-if-your-target/m-p/197079#M4863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ArcGIS Silverlight 1.2, Silverlight 3 and VS2008 SP1.&amp;nbsp; I have a button which toggles the overview panel and the the overview panel is in another xmal. Does anyone know how to set the target via targetname if the target is in another xmal?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) OverViewMapPanel is in MapView.xaml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;userControls:WindowPanel x:Name="OverviewMapPanel" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I want to have a button in MainPage.xaml that toggles the visibility of OVerviewMapPanel. I tried the following code, but the compiler was not able to resolve the targetname. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;localViews:MapView x:Name="vwMap" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;actions:ToggleVisibilityAction TargetName="vwMap.OverviewMapPanel" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 19:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-you-resolve-targetname-if-your-target/m-p/197079#M4863</guid>
      <dc:creator>YinShi</dc:creator>
      <dc:date>2010-10-20T19:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: how do you resolve targetname if your target object is in another xmal?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-you-resolve-targetname-if-your-target/m-p/197080#M4864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't see much documentation about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/system.windows.interactivity.targetedtriggeraction.targetnameproperty(v=Expression.40).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.interactivity.targetedtriggeraction.targetnameproperty(v=Expression.40).aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TargetName is inherited from its Base class, TargetedTriggerAction. I googled and found most people put in the name of the element, which makes sense. I don't know if anyone has created action where the target is not an element of that page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is related and it was resolved, you guys can probably exchange solutions: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/14380-Expand-Collapse-a-toolbar"&gt;http://forums.arcgis.com/threads/14380-Expand-Collapse-a-toolbar&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 06:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-you-resolve-targetname-if-your-target/m-p/197080#M4864</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-10-21T06:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: how do you resolve targetname if your target object is in another xmal?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-you-resolve-targetname-if-your-target/m-p/197081#M4865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't reference target names across XAML files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need a reference, create a property on the controls that you can use as a "binding bridge" between them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 04:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-you-resolve-targetname-if-your-target/m-p/197081#M4865</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-10-22T04:19:07Z</dc:date>
    </item>
  </channel>
</rss>

