<?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 place Identify in the toolbar in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-place-identify-in-the-toolbar/m-p/460966#M11878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Should work the way you did it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just remove the handler in all other cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
MyMap.MouseClick -= QueryPoint_MouseClick;
&lt;SPAN style="color:blue;"&gt;switch&lt;/SPAN&gt; (e.Index)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:blue;"&gt;case&lt;/SPAN&gt; 0: &lt;SPAN style="color:green;"&gt;// Identify&lt;/SPAN&gt;
&lt;SPAN style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMap.MouseClick += QueryPoint_MouseClick;&lt;/SPAN&gt;
&lt;SPAN style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of issue do you get?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:30:48 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2021-12-11T20:30:48Z</dc:date>
    <item>
      <title>How to place Identify in the toolbar</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-place-identify-in-the-toolbar/m-p/460965#M11877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to put the Identify function in the toolbar using the sample at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify&lt;/A&gt;&lt;SPAN&gt; . I can get it to work OK with the function placed directly in the MouseClick event of the map, but now I want to turn it on and off using the toolbar buttons. So how would I complete the syntax in the third line of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;case 0: // Identify
 _toolMode = "identify";
 MyMap.MouseClick += QueryPoint_MouseClick() ;
 break;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the parameters need to be included somehow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:30:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-place-identify-in-the-toolbar/m-p/460965#M11877</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2021-12-11T20:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to place Identify in the toolbar</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-place-identify-in-the-toolbar/m-p/460966#M11878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Should work the way you did it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just remove the handler in all other cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
MyMap.MouseClick -= QueryPoint_MouseClick;
&lt;SPAN style="color:blue;"&gt;switch&lt;/SPAN&gt; (e.Index)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:blue;"&gt;case&lt;/SPAN&gt; 0: &lt;SPAN style="color:green;"&gt;// Identify&lt;/SPAN&gt;
&lt;SPAN style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMap.MouseClick += QueryPoint_MouseClick;&lt;/SPAN&gt;
&lt;SPAN style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of issue do you get?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-place-identify-in-the-toolbar/m-p/460966#M11878</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-11T20:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to place Identify in the toolbar</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-place-identify-in-the-toolbar/m-p/460967#M11879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks dbroux. It does work. I was thinking I had to pass the args when I turned it on but apparently not.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 17:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-place-identify-in-the-toolbar/m-p/460967#M11879</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-03-07T17:53:29Z</dc:date>
    </item>
  </channel>
</rss>

