_CommandBars.ActionControl Property

Definition

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

public:
 property Microsoft::VisualStudio::CommandBars::CommandBarControl ^ ActionControl { Microsoft::VisualStudio::CommandBars::CommandBarControl ^ get(); };
public:
 property Microsoft::VisualStudio::CommandBars::CommandBarControl ^ ActionControl { Microsoft::VisualStudio::CommandBars::CommandBarControl ^ get(); };
[System.Runtime.InteropServices.DispId(1610809344)]
public Microsoft.VisualStudio.CommandBars.CommandBarControl ActionControl { [System.Runtime.InteropServices.DispId(1610809344)] get; }
public Microsoft.VisualStudio.CommandBars.CommandBarControl ActionControl { get; }
[<System.Runtime.InteropServices.DispId(1610809344)>]
[<get: System.Runtime.InteropServices.DispId(1610809344)>]
member this.ActionControl : Microsoft.VisualStudio.CommandBars.CommandBarControl
member this.ActionControl : Microsoft.VisualStudio.CommandBars.CommandBarControl
Public ReadOnly Property ActionControl As CommandBarControl

Property Value

The CommandBarControl.

Attributes

Remarks

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

Applies to