DesignerWindowPane.OnToolboxItemPicked(IDataObject) Method
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.
Called when the user double clicks or presses enter on a toolbox item on the Visual Studio toolbox.
protected:
virtual bool OnToolboxItemPicked(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ toolboxItem);
protected:
virtual bool OnToolboxItemPicked(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ toolboxItem);
virtual bool OnToolboxItemPicked(Microsoft::VisualStudio::OLE::Interop::IDataObject const & toolboxItem);
protected virtual bool OnToolboxItemPicked (Microsoft.VisualStudio.OLE.Interop.IDataObject toolboxItem);
abstract member OnToolboxItemPicked : Microsoft.VisualStudio.OLE.Interop.IDataObject -> bool
override this.OnToolboxItemPicked : Microsoft.VisualStudio.OLE.Interop.IDataObject -> bool
Protected Overridable Function OnToolboxItemPicked (toolboxItem As IDataObject) As Boolean
Parameters
- toolboxItem
- IDataObject
Returns
true
if the toolbox item was used by a designer.
Exceptions
toolboxItem
is null
.