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.
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?
I've tried looking at the Config.daml for my custom tool's button id, so that i could do something like this:
However I couldn't get it to work. Am I on the right path?