I am trying to get my UserControl be found like this:
ICommandItem pItem = pApplication.Document.CommandBars.Find(pUID, false, false);
MyUserControlType pMyTool = pItem.(Command as MyUserControlType);
But I cannot see the row with word "Command" (when drop down menu appears - see the image attached).
What I do wrong?
I am in 10.3 Desktop ArcObjects C#.
Any help will be appreciated.
Solved! Go to Solution.