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 ...
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