ToolWindowPane.OnToolBarAdded Method
Called when a toolbar is added to the tool window.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Overridable Sub OnToolBarAdded
public virtual void OnToolBarAdded()
public:
virtual void OnToolBarAdded()
abstract OnToolBarAdded : unit -> unit
override OnToolBarAdded : unit -> unit
public function OnToolBarAdded()
Remarks
This should be overridden to handle the state before the window is shown but after its toolbar is added.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.