I want to put some custom maptools into a dockpanel addin. I have found how to do this and run it from an RelayCommand and it works using the little bit of code below, but I was wondering about the parameter that you can pass to the tool. Can this be anything? If so, how do I get at it from within my maptool?
IPlugInWrapper pWrapper = FrameworkApplication.GetPlugInWrapper("PukaWai_GetFeatTool");
if (pWrapper is ICommand toolCmd)
{
// toolCmd.Execute(null);
toolCmd.Execute("parameter");
}