Silverlight XAML Designer in VS2008 - in case you were wondering
|
I installed the Silverlight 2.0 Beta 1 tools while I was watching the MIX Keynote live online last week. (You can watch the keynote and all of the sessions, by the way by going to www.visitmix.com!) I was eager to see what the integrated tooling in VS2008 looked like. Here it is.
But when I tried to drag a control onto the surface nothing happened. I could drag it into the XAML and it would appear on the surface, so that was something. Once it was there, I tried to move or resize the control in the designer, but I couldn't even select it. I got frustrated and was too embarrassed to ask anyone and went back to all of other deadlines I was juggling. Tonight I thought I would go try again... same results. So I started poking around the Silverlight.net website and finally found this statement in a tutorial on Silverlight User Interface Controls by Jesse Liberty At the time of this writing, for example, just before we release Beta 1 of Silverlight 2, the design surface in Visual Studio will reflect changes made in the markup (XAML) but you can not yet drag and drop controls onto the design surface (though you can drag and drop controls into the markup and see the effect immediately in the design window). Okay, now I don't feel like such a dope after all. |



Comments (4)
You can drag the control from toolbar directly to XAML code at the bottom. Good luck
Posted by jasper | March 16, 2008 5:03 AM
Yep, I did mention that in the blog post. :-)
"I could drag it into the XAML and it would appear on the surface, so that was something."
But thanks for making sure I didn't miss (or neglect to share) that piece of info.
Posted by Julia Lerman | March 16, 2008 8:47 AM
Hi Julia,
I think everyone has moments where they are too emabarassed to ask anyone and they go onto something else. Most people are not brave enough, or secure enough with themselves (such as you are) to admit it. The shame is that we all miss a lot of opportunities to learn by doing this.
I for one am going to follow your example and go on the record to say this stuff is hard and it changes so fast that I spend most days lost in a fog and I bet everyone else is the same. Let's just start admiting it and get over ourselves.
These days it is the people that are not afraid to admit they do not know something and keep banging their heads on the wall till they do understand that succeed in this business. I for one have several knots on the top of my head.
:-)
Posted by Sara Morgan | July 30, 2008 4:59 PM
Hi, at http://www.xamltemplates.net/sl you can see a complete theme for all the Silverlight controls, check it out and let me know what you think.
Posted by XAML Templates | April 24, 2009 9:08 AM