CommandBarsClass::ActionControl Property
Visual Studio 2015
Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running.
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
public: [DispIdAttribute(1610809344)] property CommandBarControl^ ActionControl { [DispIdAttribute(1610809344)] virtual CommandBarControl^ get(); }
Implements
_CommandBars::ActionControlIf the macro wasn't initiated by a command bar control, this property returns null.
Show: