Skip to Content
.NET Windows® Forms Custom Controls
book

.NET Windows® Forms Custom Controls

by Richard Weeks
January 2002
Intermediate to advanced
288 pages
5h 48m
English
Sams
Content preview from .NET Windows® Forms Custom Controls

Composite Controls

The discussion of custom controls to this point has assumed a single control or single component. As with most development projects, the end result is a composition of smaller components that in turn create the final product. The same case holds for custom control development. Rather than create a single monolithic control, custom controls are often created by using one or more smaller controls.

Simple controls, such as a command button, require only a single control to provide the necessary functionality. A combo box is a composite control that uses smaller controls to implement the larger control. This design pattern is known as Composition. Composition is a useful design pattern you should explore when creating any custom ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Roger Villela
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 0672323338Purchase book