_CommandBars.ActionControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the CommandBarControl object whose OnAction property is set to the running procedure.
public:
property Microsoft::Office::Core::CommandBarControl ^ ActionControl { Microsoft::Office::Core::CommandBarControl ^ get(); };
public Microsoft.Office.Core.CommandBarControl ActionControl { get; }
member this.ActionControl : Microsoft.Office.Core.CommandBarControl
Public ReadOnly Property ActionControl As CommandBarControl
Property Value
Remarks
If the running procedure was not initiated by a command bar control, this property returns Nothing.
Call this property and the Tag property to determine which command bar button was previously clicked.