I am writing an add-in for Pro. This add-in contains a form with a button that activates a custom maptool, i.e.
await FrameworkApplication.SetCurrentToolAsync("MyTool");This works, and I can sketch a geometry on the map.
How do I get a reference to the geometry in the form? Do I need to fire a custom event from the maptool's OnSketchCompleteAsync method? Or can I somehow reuse the existing SketchCompletedEvent event?