Edward Tanguay
Edward Tanguay

Reputation: 193432

Why can't I double-click a button to create an event handler in Silverlight 2.0?

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?

Upvotes: 0

Views: 1166

Answers (2)

netterdotter
netterdotter

Reputation: 131

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.

Upvotes: 1

Aaron Fischer
Aaron Fischer

Reputation: 21231

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.

Upvotes: 5

Related Questions