views:

488

answers:

3

In WPF, ASP.NET, WinForms, I create a button, double-click on it and fill in the event handler.

In Silverlight (with Visual Web Developer 2008), I make a button, double-click it but nothing happens.

Is this not supported when writing Silverlight applications for some reason? Do we have to write these event handlers by hand?

+5  A: 

The silverlight designer is display only. If you want to move things on screen with your mouse or double click to add events, you need to use expression blend.

Aaron Fischer
+1  A: 

This will be a feature in the next release of Silverlight along with many other developer tool improvements. You can create the event handler "semi-automatically" in the XAML-editor, though, using Intellisense.

netterdotter
A: 

Because they did silverlight in a hurry...