I have a custom dockpane where the VM activates vertex editing of the current feature.
var editCommand = FrameworkApplication.GetPlugInWrapper("esri_editing_editVerticesCurrentFeature") as ICommand;
if (editCommand != null && editCommand.CanExecute(null))
{
editCommand.Execute(null);
}Pro activates the Modify Features pane and switches the focus to it. Can I somehow stay on my custom dockpane?editCommand.Execute
I have tried to activate my custom dockpane this.Activate() after the editCommand.Execute() method but it appears whatever happens behind the editCommand.Execute is async so my Activate() has no effect.
Is there an event that I can hook into upon the Modify Features pane activation? Or just prevent the activation altogether?
It is possible I am overengineering this. My goal is to let the user edit the vertices of the current feature and then return back to my custom pane.