_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.
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
.