CommandBarsClass::ActionControl Property

 

Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running.

Namespace:   Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

public:
[DispIdAttribute(1610809344)]
property CommandBarControl^ ActionControl {
	[DispIdAttribute(1610809344)]
	virtual CommandBarControl^ get();
}

If the macro wasn't initiated by a command bar control, this property returns null.

Return to top
Show: