Control Class
Once again, the Control class is the base class for all controls, including forms, in the .NET Framework. This class provides the basic support for a control's visual appearance including the background and foreground color, for specifying the control's size, dragging and dropping onto a control, mouse events such as clicking and double-clicking, and keyboard events.
The base support provided by the Control class is accomplished through the use of properties, events, and methods. There are several Control class properties that are used to describe the control and its behavior. These properties are presented in the next section. Events are also defined for the Control class. The events are generated by the control based on specific ...
Get Visual Basic® .NET by Example 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.