Webcast: Event Handling

Today's Webcast was intended to be a smooth presentation of a topic I know cold. Not uncharacteristically, I went off on a tangent from which I never returned and ended up writing all my code spontaneously.

The good news was it was "fresher" the bad news was a few false starts; fortunately I was talking to pros who were very patient, and the key points were made:

You can set the container as the event handler for the contained objects (e.g., the stack panel can receive the click event for all the radio buttons

Some events bubble and some do not, and it is important to understand which do and which do not and what will happen accordingly

The rule of thumb is that events associated with a control (e.g, click) do not bubble but most events associated with mouse and keyboard do bubble; it's best to check the documentation.

A complete walk-through of this idea is also covered in Part 2 of my video on event handling which also has code available for downloading.

Thanks again for hanging in with me, and I have no idea what Microsoft does to me for running so far over-time. I'm sure I'll get a letter.

About Jesse Liberty

Jesse Liberty is a Senior Consultant with Wintellect, with three decades of experience writing and delivering software projects. He is the author of 2 dozen books and multiple Pluralsight & LinkedIn Learning courses, and has been a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a Xamarin Certified Mobile Developer and a Xamarin MVP and a Microsoft MVP.