I have been trying to implement a custom sketch tool and use it from my dockpane.
I came cross an example from ArcGIS-pro's community sample "Map-Exploration/IdentifyWithSketchTool" , custom identify tool link:https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/master/Map-Exploration/IdentifyWithSketchTool/CustomIdentify.cs
I see it got activated by from config.daml's <tool> tag with attribute loadOnClick="true"
I'm essentially want to achieve the same behavior from my dockpane's viewmodel using a button, how can I do that?
Thanks!