
MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide
By :

If you have ever worked with events in any .NET-based language, you will feel right at home with Silverlight. Just like other .NET languages, you can select an element in the design area, and generate the event handler automatically using Visual Studio 2010. Of course, you are not limited to adding events only in the designer, you can attach events in the code behind as well.
The Silverlight event model is based upon the concept of bubbling events. This means that a control can raise an event that will be handled by its parent control. For example, if we have a Border
control that has a StackPanel
with images as its content, we can handle the MouseLeftButtonDown
event on the border level, instead of having to handle it for each individual image. Bubbling is a type of routed events and the only one that Silverlight supports. Bubbling means going up the control hierarchy and while WPF does support the tunneling type of routed event (going down the hierarchy), Silverlight does...
Change the font size
Change margin width
Change background colour