Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/developing-a-composite-windows-forms-control.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

3.1 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
Develop a Composite Control 03/30/2017
custom controls [Windows Forms], composite controls
composite controls [Windows Forms]
composite controls [Windows Forms], Windows Forms
controls [Windows Forms], composite
d086f2a3-baa3-4e09-b40c-a5bb3cfc51a6

Develop a composite Windows Forms control

You can develop a composite Windows Forms control by combining other Windows Forms controls. Composite controls that derive from xref:System.Web.UI.UserControl are called user controls. The base class, xref:System.Windows.Forms.UserControl, provides keyboard routing for the child controls, thus ensuring that child controls can receive focus. For an example of a user control, see the xref:System.Windows.Forms.UserControl sample in How to: Apply Attributes in Windows Forms Controls.

The Windows Forms designer in Visual Studio provides rich design-time support for authoring user controls.

See also