Working with Controls

Now that you have read about the common properties and events of the Control class, let's go through some examples so that you can learn more about working with controls in Visual Basic .NET. The examples in this section are focusing on the properties, events, and methods of the Control class; therefore, the examples are relevant for any control that you want to use.

The previous chapter presented information about sizing, color, docking, and anchoring (in regards to a form). Each of these topics is actually related to the Control class itself. Each of these topics is usually thought of when dealing with forms, which is why the material was presented in the previous chapter. We did not want to present the Control class at ...

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.