O'Reilly logo

Visual Basic® .NET by Example by Bob Donald, Gabriel Oancea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required