Summary
In this chapter, you investigated three user controls: The first merely displayed content, the second provided functionality, and the third encapsulated an existing control, adding new functionality. You might want to consider the techniques shown here any time you need to group controls together and use them more than once, or when you need to add your own functionality to an existing control or group of controls. For example, you might want to create the following items:
A DataGrid control with sorting capabilities built in
A LogIn control that handles authentication for you
A data-driven menu system that reads menu items, and perhaps subitems, from a table (or tables)
The possibilities are endless. It is important to remember, however, ...
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.
Read now
Unlock full access