9.1. Windows controls

Windows offers a huge set of various controls – Button, TextBox, ComboBox, TreeView, ListView, and so on – that are used to provide a user interface to our application. They give users the ability to enter the information and see the response from the application.

Like everything else, these user interface controls are implemented in the .NET Framework as various classes. These classes are derived from the Control class and share many common functions, but each of the controls provides some unique features as well.

In the following sections we will look at some of the Windows controls that come with the Microsoft .NET Framework, their properties, methods, and events, and provide examples of their usage. In particular, we ...

Get A Programmer's Guide to .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.