<?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 Pass textbox-text as input to MapTool.Method from Embeddable Control in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/pass-textbox-text-as-input-to-maptool-method-from/m-p/1272268#M9576</link>
    <description>&lt;P&gt;ArcGis Pro SDK 3.0&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to achieve a funtionality in my addin where a user can search for a roadreference through both text-search and by sending a point to an api and getting a roadreference in return.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am using an MapTool with an embeddble control that contains a textbox and a button which submits the search-request to an api.&lt;/P&gt;&lt;P&gt;Is there a way of binding an button or enter-keydown event to an MapTool method, so that the business logic of&amp;nbsp; things can be handled in the MapTool-class? If I have understood MVVM correctly it is a big no-no to write business logic in the code-behind part of the embeddable control, so I am trying to keep it away from that.&lt;/P&gt;&lt;P&gt;All replies are more than welcome, and even a push in the right direction on this one makes Jack a very happy boy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Tor&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 23:44:58 GMT</pubDate>
    <dc:creator>TorRøkkumBørset</dc:creator>
    <dc:date>2023-03-27T23:44:58Z</dc:date>
    <item>
      <title>Pass textbox-text as input to MapTool.Method from Embeddable Control</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/pass-textbox-text-as-input-to-maptool-method-from/m-p/1272268#M9576</link>
      <description>&lt;P&gt;ArcGis Pro SDK 3.0&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to achieve a funtionality in my addin where a user can search for a roadreference through both text-search and by sending a point to an api and getting a roadreference in return.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am using an MapTool with an embeddble control that contains a textbox and a button which submits the search-request to an api.&lt;/P&gt;&lt;P&gt;Is there a way of binding an button or enter-keydown event to an MapTool method, so that the business logic of&amp;nbsp; things can be handled in the MapTool-class? If I have understood MVVM correctly it is a big no-no to write business logic in the code-behind part of the embeddable control, so I am trying to keep it away from that.&lt;/P&gt;&lt;P&gt;All replies are more than welcome, and even a push in the right direction on this one makes Jack a very happy boy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Tor&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 23:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/pass-textbox-text-as-input-to-maptool-method-from/m-p/1272268#M9576</guid>
      <dc:creator>TorRøkkumBørset</dc:creator>
      <dc:date>2023-03-27T23:44:58Z</dc:date>
    </item>
  </channel>
</rss>

