Partager via


CommandBarsClass.ActionControl Property

Definition

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

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

Property Value

The CommandBarControl.

Implements

Attributes

Remarks

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

Applies to