편집

다음을 통해 공유


_CommandBars.ActionControl Property

Definition

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.

Applies to