Tag Archives: Xaml

Windows Phone From Scratch #4 – First Xaml

In the previous mini-tutorial in this series you created a form in which you placed a prompt and text box for the first name using Expression Blend and drag and drop.  It was probably not obvious that as you created … Continue reading

Posted in Essentials, Mini-Tutorial, Patterns & Skills | Tagged , , | 5 Comments

Test Driven Silverlight Body Snatchers

This posting is part of the Silverlight HyperVideo Platform documentation and a Silverlight Mini-tutorial. The information in this posting, however, should be of interest to anyone writing meaningful Line of Business applications with Silverlight. The premise of the classic 1956 … Continue reading

Posted in Mini-Tutorial, Patterns & Skills | Tagged , , | 1 Comment

Designer v Xaml v Code

This is the second in my new series on Getting Started With Silverlight (please see the first article for information on the series and where to get the software you need). [updated11/8] Don’t Start with Xaml… Until recently, just about … Continue reading

Posted in Mini-Tutorial, z Silverlight Archives | Tagged | 1 Comment

Creating A Form – Level 100

(click on the image to see other Mini-tutorials)   Turing Page [Novice: 4]  FAQ  Table of Contents         In Novice Page 3 we were about to create a form.  Here is  the form we’ll create: Layout Is … Continue reading

Posted in z Silverlight Archives | Tagged , | Leave a comment

Dependency Properties, Continued

  First, a hearty thank you to "obsid" who wrote a great comment noting that by using reflector you can find that the documentation is not yet updated and System.Windows.PropertyMetadata's constructor is overloaded. While I am a fan of writing … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Creating Controls in Code

In my new video I demonstrate how you can create controls dynamically at run time. The technique is very straight forward, everything you can create declaratively in XAML you can also create dynamically in C#. xaml <Button x:Name="Button1" Width="50" Height="30" … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Tip of the Day: Routed Events – Bubbling and not…

In Silverlight 2 Beta 1 some events bubble, and some do not. This can cause a bit of confusion, especially because the way this distinction is explained is itself confusing. To set the stage, let's examine the following simple event … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Tip of the Day – Getting Ready for Silverlight 2

We have announced that Silverlight 2 Beta 1, will be released during the first 3 months of this year (that is, any day now) with a go-live license. It is important to keep in mind that this will be a … Continue reading

Posted in z Silverlight Archives | Tagged , | Leave a comment

Adam Kinney’s Too Great To Miss Tutorial on Making a Chart In 1.0

Do not miss Adam Kinney's excellent tutorial on creating a bar chart in Silverlight 1.0; it is brilliant, and it is a great staring point on working with XAML, JavaScript, JSON data and many other interesting aspects of Silverlight. Also, … Continue reading

Posted in z Silverlight Archives | Tagged , , | Leave a comment

Tips of the Day: Setting properties in custom controls in 1.0

Got a nice international email today that said in part… …things get more interesting it is a common scenario to write custom controls….I need to specify the parameters in code behind. Can I create custom xaml tags which are connected … Continue reading

Posted in z Silverlight Archives | Tagged , | Leave a comment

Did You Know… How to create XAML objects in Javascript?

I have had a very strong positive reaction to focusing on the Javascript in code behind for Silverlight 1.0, and so will devote not only today's Tip of the Day to a bit more on the topic, but will make … Continue reading

Posted in z Silverlight Archives | Tagged , | Leave a comment

Did You Know That… The Code Behind is Just… Code?

A very insightful reader sent me email that I'm going to respond to here. To protect his identity let's call him Bob. I'm going to excerpt Bob's  email and rephrase a bit so that this becomes a more general discussion. … Continue reading

Posted in z Silverlight Archives | Tagged , | Leave a comment