<?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: Use a custom map tool's functionality in a button on a dockpane in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/use-a-custom-map-tool-s-functionality-in-a-button/m-p/765885#M441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khamille,&lt;/P&gt;&lt;P&gt;In addition to the link Gintautas has shared with you, here is a wiki link that walks you through using ICommands as "bindings" on your dockpane using the MVVM pattern.&amp;nbsp; Your custom tool can be used with this also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Reusing-Pro-Commands#reusing-arcgis-pro-commands-in-mvvm"&gt;ProGuide: Reusing Pro Commands&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 May 2019 15:26:30 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2019-05-14T15:26:30Z</dc:date>
    <item>
      <title>Use a custom map tool's functionality in a button on a dockpane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/use-a-custom-map-tool-s-functionality-in-a-button/m-p/765883#M439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made a very simple, custom map tool that selects features with a rectangle sketch outline (it's basically 'Select by Rectangle' tool). I made my own tool instead of using Esri's DAML ID for the select by rectangle tool because I want to have my own functionality for OnMouseUp.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to make this tool and access it in the Pro Add-in ribbon tab. However, how would I be able to use my tool's functionality in my own button on my own dockpane?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried looking at the Config.daml for my custom tool's button id, so that i could do something like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; FrameworkApplication.SetCurrentToolAsync("my_custom_tool_id");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I couldn't get it to work. Am I on the right path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 17:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/use-a-custom-map-tool-s-functionality-in-a-button/m-p/765883#M439</guid>
      <dc:creator>KhamilleJaynes</dc:creator>
      <dc:date>2019-05-13T17:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use a custom map tool's functionality in a button on a dockpane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/use-a-custom-map-tool-s-functionality-in-a-button/m-p/765884#M440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khamille,&lt;/P&gt;&lt;P&gt;Try to look at this link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/210462-programmatically-start-the-edit-annotation-tool-in-modify-features"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;https://community.esri.com/thread/210462-programmatically-start-the-edit-annotation-tool-in-modify-features&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 05:42:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/use-a-custom-map-tool-s-functionality-in-a-button/m-p/765884#M440</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2019-05-14T05:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Use a custom map tool's functionality in a button on a dockpane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/use-a-custom-map-tool-s-functionality-in-a-button/m-p/765885#M441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khamille,&lt;/P&gt;&lt;P&gt;In addition to the link Gintautas has shared with you, here is a wiki link that walks you through using ICommands as "bindings" on your dockpane using the MVVM pattern.&amp;nbsp; Your custom tool can be used with this also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Reusing-Pro-Commands#reusing-arcgis-pro-commands-in-mvvm"&gt;ProGuide: Reusing Pro Commands&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 15:26:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/use-a-custom-map-tool-s-functionality-in-a-button/m-p/765885#M441</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2019-05-14T15:26:30Z</dc:date>
    </item>
  </channel>
</rss>

