<?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 Passing a parameter to an ICommand in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/passing-a-parameter-to-an-icommand/m-p/787266#M1314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a checkbox on a DockPane in an Add-in. When the user clicks the checkbox, I want to call a command in the ViewModel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get a simple command to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I need to pass the status of the checkbox back to the command. How do you do this? I can't seem to get the command to accept parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2019 12:25:28 GMT</pubDate>
    <dc:creator>BryanLynn1</dc:creator>
    <dc:date>2019-06-20T12:25:28Z</dc:date>
    <item>
      <title>Passing a parameter to an ICommand</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/passing-a-parameter-to-an-icommand/m-p/787266#M1314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a checkbox on a DockPane in an Add-in. When the user clicks the checkbox, I want to call a command in the ViewModel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get a simple command to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I need to pass the status of the checkbox back to the command. How do you do this? I can't seem to get the command to accept parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 12:25:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/passing-a-parameter-to-an-icommand/m-p/787266#M1314</guid>
      <dc:creator>BryanLynn1</dc:creator>
      <dc:date>2019-06-20T12:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a parameter to an ICommand</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/passing-a-parameter-to-an-icommand/m-p/787267#M1315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bryan&lt;/P&gt;&lt;P&gt;Check out this Pro SDK Community sample:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Authoring/LayersPane"&gt;LayersPane&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In this sample, the text in the search text box is passed as a "parameter" to the Search ICommand.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/451468_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 22:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/passing-a-parameter-to-an-icommand/m-p/787267#M1315</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2019-06-25T22:37:42Z</dc:date>
    </item>
  </channel>
</rss>

