CommandBarsClass.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:
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
.