Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/how-to-display-a-control-in-the-choose-toolbox-items-dialog-box.md
T
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

2.1 KiB

title, ms.date, helpviewer_keywords, ms.assetid, author, ms.author, manager
title ms.date helpviewer_keywords ms.assetid author ms.author manager
How to: Display a Control in the Choose Toolbox Items Dialog Box 08/23/2019
global assembly cache [Windows Forms], Choose Toolbox Items dialog box
AssemblyFoldersEx [Windows Forms], Choose Toolbox Items dialog box
controls [Windows Forms], display in Choose Toolbox Items dialog box
assembly folder registration [Windows Forms], Choose Toolbox Items dialog box
Choose Toolbox Items dialog box [Windows Forms], display control
01ef6eba-d044-40f0-951d-78eff7ebd9a9 jillre jillfra jillfra

How to: Display a Control in the Choose Toolbox Items Dialog Box

As you develop and distribute controls, you may want those controls to appear in the Choose Toolbox Items dialog box of Visual Studio, which is displayed when you right-click the Toolbox and select Choose Items. You can enable your control to appear in this dialog box by using the AssemblyFoldersEx registration procedure.

To display your control in the Choose Toolbox Items dialog box:

  • Install your control assembly to the global assembly cache. For more information, see How to: Install an Assembly into the Global Assembly Cache.

    -or-

  • Register your control and its associated design-time assemblies by using the AssemblyFoldersEx registration procedure. AssemblyFoldersEx is a registry location where third-party vendors store paths for each version of the framework that they support. Design-time resolution can look in this registry location to find reference assemblies. The registry script can specify the controls you want to appear in the Toolbox.

See also