DocumentDesigner.ToolPicked(ToolboxItem) 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.
Important
This API is not CLS-compliant.
Selects the specified tool.
protected:
virtual void ToolPicked(System::Drawing::Design::ToolboxItem ^ tool);
protected virtual void ToolPicked (System.Drawing.Design.ToolboxItem tool);
[System.CLSCompliant(false)]
protected virtual void ToolPicked (System.Drawing.Design.ToolboxItem tool);
abstract member ToolPicked : System.Drawing.Design.ToolboxItem -> unit
override this.ToolPicked : System.Drawing.Design.ToolboxItem -> unit
[<System.CLSCompliant(false)>]
abstract member ToolPicked : System.Drawing.Design.ToolboxItem -> unit
override this.ToolPicked : System.Drawing.Design.ToolboxItem -> unit
Protected Overridable Sub ToolPicked (tool As ToolboxItem)
Parameters
- tool
- ToolboxItem
The ToolboxItem to create a component for.
- Attributes
Remarks
ToolPicked is called when the user double-clicks on a toolbox item. The document designer should create a component for the specified tool. Only tools that are enabled in the toolbox will be passed to this method.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.