Share via


Developing a Composite Windows Forms Control

You can develop a composite Windows Forms control by combining other Windows Forms controls. Composite controls that derive from System.Windows.Forms.UserControl are called user controls. The base class, 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 UserControl sample in How to: Apply Attributes in Windows Forms Controls.

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

Topic Location
How to: Create a Windows Forms Control That Takes Advantage of Design-Time Features .NET Framework: Application Development
How to: Create a Windows Forms Control That Takes Advantage of Design-Time Features .NET Framework: Application Development
How to: Display a Control in the Customize Toolbox Dialog Box Windows Forms Controls
Walkthrough: Serializing Collections of Standard Types with the DesignerSerializationVisibilityAttribute Windows Forms Controls
Walkthrough: Inheriting from a Windows Forms Control with Visual C# Windows Forms Controls
How to: Provide a Toolbox Bitmap for a Control Windows Forms Controls
How to: Inherit from Existing Windows Forms Controls Windows Forms Controls
Walkthrough: Debugging Custom Windows Forms Controls at Design Time Windows Forms Controls
How to: Inherit from the Control Class Windows Forms Controls
How to: Test the Run-Time Behavior of a UserControl Windows Forms Controls
How to: Align a Control to the Edges of Forms at Design Time Windows Forms Controls
How to: Inherit from the UserControl Class Windows Forms Controls
How to: Author Controls for Windows Forms Windows Forms Controls
How to: Author Composite Controls Windows Forms Controls
Walkthrough: Authoring a Composite Control with Visual Basic Windows Forms Controls
Walkthrough: Authoring a Composite Control with Visual C# Windows Forms Controls
Walkthrough: Inheriting from a Windows Forms Control with Visual Basic Windows Forms Controls
How to: Display a Control in the Customize Toolbox Dialog Box Windows Forms Controls
Walkthrough: Serializing Collections of Standard Types with the DesignerSerializationVisibilityAttribute Windows Forms Controls
Walkthrough: Inheriting from a Windows Forms Control with Visual C# Windows Forms Controls
How to: Provide a Toolbox Bitmap for a Control Windows Forms Controls
How to: Inherit from Existing Windows Forms Controls Windows Forms Controls
Walkthrough: Debugging Custom Windows Forms Controls at Design Time Windows Forms Controls
How to: Inherit from the Control Class Windows Forms Controls
How to: Test the Run-Time Behavior of a UserControl Windows Forms Controls
How to: Align a Control to the Edges of Forms at Design Time Windows Forms Controls
How to: Inherit from the UserControl Class Windows Forms Controls
How to: Author Controls for Windows Forms Windows Forms Controls
How to: Author Composite Controls Windows Forms Controls
Walkthrough: Authoring a Composite Control with Visual Basic Windows Forms Controls
Walkthrough: Authoring a Composite Control with Visual C# Windows Forms Controls
Walkthrough: Inheriting from a Windows Forms Control with Visual Basic Windows Forms Controls
How to: Create a Windows Forms Control That Takes Advantage of Design-Time Features .NET Framework: Application Development
How to: Display a Control in the Customize Toolbox Dialog Box Windows Forms Controls
Walkthrough: Serializing Collections of Standard Types with the DesignerSerializationVisibilityAttribute Windows Forms Controls
Walkthrough: Inheriting from a Windows Forms Control with Visual C# Windows Forms Controls
How to: Provide a Toolbox Bitmap for a Control Windows Forms Controls
How to: Inherit from Existing Windows Forms Controls Windows Forms Controls
Walkthrough: Debugging Custom Windows Forms Controls at Design Time Windows Forms Controls
How to: Inherit from the Control Class Windows Forms Controls
How to: Test the Run-Time Behavior of a UserControl Windows Forms Controls
How to: Align a Control to the Edges of Forms at Design Time Windows Forms Controls
How to: Inherit from the UserControl Class Windows Forms Controls
How to: Author Controls for Windows Forms Windows Forms Controls
How to: Author Composite Controls Windows Forms Controls
Walkthrough: Authoring a Composite Control with Visual Basic Windows Forms Controls
Walkthrough: Authoring a Composite Control with Visual C# Windows Forms Controls
Walkthrough: Inheriting from a Windows Forms Control with Visual Basic Windows Forms Controls
How to: Inherit from the UserControl Class Windows Forms Controls
How to: Create a Windows Forms Control That Takes Advantage of Design-Time Features .NET Framework: Application Development
How to: Create a Windows Forms Control That Takes Advantage of Design-Time Features .NET Framework: Application Development
How to: Display a Control in the Choose Toolbox Items Dialog Box Windows Forms Controls
Walkthrough: Serializing Collections of Standard Types with the DesignerSerializationVisibilityAttribute Windows Forms Controls
Walkthrough: Inheriting from a Windows Forms Control with Visual C# Windows Forms Controls
How to: Provide a Toolbox Bitmap for a Control Windows Forms Controls
How to: Inherit from Existing Windows Forms Controls Windows Forms Controls
Walkthrough: Debugging Custom Windows Forms Controls at Design Time Windows Forms Controls
How to: Inherit from the Control Class Windows Forms Controls
How to: Test the Run-Time Behavior of a UserControl Windows Forms Controls
How to: Align a Control to the Edges of Forms at Design Time Windows Forms Controls
How to: Inherit from the UserControl Class Windows Forms Controls
How to: Author Controls for Windows Forms Windows Forms Controls
How to: Author Composite Controls Windows Forms Controls
Walkthrough: Authoring a Composite Control with Visual Basic Windows Forms Controls
Walkthrough: Authoring a Composite Control with Visual C# Windows Forms Controls
Walkthrough: Inheriting from a Windows Forms Control with Visual Basic Windows Forms Controls

See Also

Tasks

How to: Apply Attributes in Windows Forms Controls

Concepts

Varieties of Custom Controls

Other Resources

Windows Forms Controls Samples
Developing Custom Windows Forms Controls with the .NET Framework