An Introduction to Controls
As mentioned earlier in the chapter, we will not dig into the details of the myriad controls that ship with the .NET Framework. However, it is useful to talk about some generic control concepts that apply to a variety of programming tasks in the .NET Framework.
When working with the .NET Framework controls, such as the listbox, treeview, and button controls, programmers appreciate that they all expose a common and standard set of properties. Gone are the days of setting a label control's Caption property; if you need to alter the text on a control, whether it is a command button or label, you set the Text property.
The .NET Framework also improves on the programmer's ability to create a custom control. These user controls ...
Get Visual Basic® Programmer's Guide to the .NET Framework Class Library 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.