3.1 KiB
title, ms.date, helpviewer_keywords, ms.assetid
| title | ms.date | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|
| Develop a Composite Control | 03/30/2017 |
|
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.
-
How to: Display a Control in the Choose Toolbox Items Dialog Box
-
Walkthrough: Inheriting from a Windows Forms Control with Visual C#
-
Walkthrough: Debugging Custom Windows Forms Controls at Design Time
-
How to: Align a Control to the Edges of Forms at Design Time
-
How to: Create a Windows Forms Control That Takes Advantage of Design-Time Features