ToolWindowPane::ToolBarCommandTarget Property

 

If the tool window has a ToolBar, then you can use this property to customize its command target. If this value is null, then the window frame of this tool window is used as the command target for the ToolBar. Like other toolbar-related properties, this property must be set before the initialization of the ToolWindowPane is complete.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
property IOleCommandTarget^ ToolBarCommandTarget {
	IOleCommandTarget^ get();
	void set(IOleCommandTarget^ value);
}

Property Value

Type: Microsoft.VisualStudio.OLE.Interop::IOleCommandTarget^

The toolbar, or null to use the window frame of this window.

Return to top
Show: