O'Reilly logo

C# Primer: A Practical Approach by Stanley B. Lippman

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

6.4. Inspecting and Generating Control Events

What additional events are associated with a TextBox control? More generally, how can we discover the set of events associated with a control?

To inspect the set of events associated with a control, we do the following: (1) click on the control to display its Properties window, and (2) in the Properties window, click on the yellow jagged lightning icon. The Properties window now displays the set of events associated with the current control (as Figure 6.10 shows).

Figure 6.10. TextBox-Supported Events

The entries on the left in the Properties window represent each of the events supported by the control. ...

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