Share via


DesignerWindowPane.OnToolboxItemPicked(IDataObject) Method

Definition

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

IDataObject.

Returns

true if the toolbox item was used by a designer.

Exceptions

toolboxItem is null.

Applies to