Tag Archives: Xaml

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

My Last Pre-Mix Web Cast: Feb 6: Dynamic S.L. 1.0 Apps w/ CreateFromXAML

I will be giving my last pre-mix Webcast on Feb 6 (did i hear cheering??) on Feb 6 on the topic: "Building a dynamic Silverlight Application using a web service, the downloader and CreateFromXAML" — you can read more about … Continue reading

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

Did You Know That… There are excellent books on Silverlight 1.0 Programming

I must admit that I was at first skeptical about books on Silverlight 1.0 Programming for a number of reasons: Silverlight 1.0 is not all that "deep" – there isn't that much to cover The online documentation and supplemental information … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Did You Know That… You can put events into your XAML or into the code behind?

There are two common idioms for creating events (and wiring up their handlers) for XAML objects. One is to place the name of the event and the name of its handler in the XAML itself <Canvas Canvas.Top="180" Canvas.Left="200" MouseLeftButtonDown="onMouseDown" MouseLeftButtonUp="onMouseUp" … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Did You Know That… if you want your Silverlight control to have a transparent background, you must set isWindowless to true

As noted in an earlier Tip of the Day, typically you do not want a windowless Silverlight control, as there is a high performance price in rendering windowless controls. However, if you wish to set the background to be transparent, … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Did You Know That… you can create Silverlight objects programmatically?

In both Silverlight 1.0 and Silverlight 2.0 it is possible to create Silverlight objects programmatically, in the former using JavaScript and in the latter using, for example, C#. Creating objects programmatically in Silverlight 1.0 is non-trivial, as demonstrated in this  How … Continue reading

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

Did You Know That… the content property is not the content inside the XAML element?

In a previous Tip of the Day, I talked about using the content property of the Silverlight control (plug-in). Previous documentation suggested that other XAML objects also have a content property, that is the content within the XAML element, as … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Coming Videos and Tutorials

After carefully reviewing the videos we have for Silverlight 1.0, I see two major gaps that I'd like to fill in the next few weeks; though I welcome your feedback as to whether you think they'll be useful. First, I … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Setting Expectations

I've added two slides to just about every presentation I give on programming Silverlight. The first is labeled "What you want me to show you… The second is labeled "What I'm going to show you… Because Silverlight is capable of … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

Creating XAML Objects in Code

One of the advantages that Silverlight 1.1 does bring to the party is the the isomorphism between XAML and CLR object that is found in Windows Presentation Framework (WPF). Thus, you can create a rectangle declaratively, <Rectangle x:Name="myRect" Width="120" Height="50" … Continue reading

Posted in z Silverlight Archives | Tagged | Leave a comment

The Great Asynchronous Learning Experiment – Beginning 1.1 with Drag and Drop

As you may know, I've been tracking the learning process through this "diary" of learning Silverlight with periodic blog entries.  I recently began working with Silverlight 1.1 (Alpha) in anticipation of my presentation at Tech Ed, and while I was … Continue reading

Posted in z Silverlight Archives | Tagged , | 1 Comment