Category Archives: z Silverlight Archives

Linq and Lamda Expressions – How do you pronounce => ?

I believe it is a major stumbling block, when learning new technology, if you can’t say the syntax “out loud in your head.” — that is if you can’t read the code to yourself in a way that you can … Continue reading →

Posted in z Silverlight Archives | Tagged | 2 Comments

Did You Know… There Are Four Basic Animation Mechanisms?

Silverlight offers you four ways to move an object from here to there From/To Animation Linear Key Frame Animation Discrete Key Frame Animation Spline Key Frame Animation From – To Animations (From there to here, from here to there, funny … Continue reading →

Posted in z Silverlight Archives | Tagged | 1 Comment

Hey! Where’d Everybody Go?

I've received email that there has been a bit less responsiveness from Microsoft employees on some of the Silverlight Forums recently. This is an impression, but to the extent it is true, it wouldn't be terribly surprising.  Speaking only for … Continue reading →

Posted in z Silverlight Archives | Tagged | Comments Off on Hey! Where’d Everybody Go?

Did You Know That… There Is More Every Day To Help You Get Started?

We are in the process of reorganizing each of the pages on Silverlight.net to make them more useful and usable (though in some ways this is like painting the Brooklyn Bridge ; as soon as you're done, it is time … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… There Is More Every Day To Help You Get Started?

Did You Know That… The Target of Video Brushes Is Not The Video

When you use an image brush, the target of the brush is the image you wish to display, <Rectangle x:Name="myRectImage" Width="100" Height="44" Canvas.Left="0" Canvas.Top = "500" StrokeThickness="2" Stroke="Black" > <Rectangle.Fill> <ImageBrush ImageSource="Picture.jpg" /> </Rectangle.Fill> </Rectangle> <Ellipse x:Name="myEllipseImage" Width="100" Height="44" Canvas.Left="110" … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… The Target of Video Brushes Is Not The Video

Did You Know That… You can create vertical or horizontal linear gradients?

By default, linear gradients are on a diagonal.  Understanding this begins with the implicit assumption of a coordinate system superimposed on every shape in which the upper-left hand corner is set to 0,0, with the x axis extending to 1 … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… You can create vertical or horizontal linear gradients?

Did You Know That… The best way to get help is…

I receive a lot of email asking questions about Silverlight; which is great, but the most effective way to get these questions answered is usually to post them to the Silverlight Forum, where a lot more people can take a … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… The best way to get help is…

.NET Framework source code available!

In what I honestly believe is a stunning announcement, Scott Guthrie blogged moments ago that we have released the source code for the following .NET Framework libraries for browsing and debugging,  with more to come: .NET Base Class Libraries (including … Continue reading →

Posted in z Silverlight Archives | Comments Off on .NET Framework source code available!

Webcast Disaster

I woke up yesterday and realized what a bad idea it was that I had planned a Webcast called Tips and Traps in Programming Silverlight 1.0 for today. First, if you're going to do such a thing, you want to … Continue reading →

Posted in z Silverlight Archives | Comments Off on Webcast Disaster

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 | Comments Off on Did You Know That… You can put events into your XAML or into the code behind?

Did You Know That… You can get sharp lines within a linear gradient?

This tip is thanks to Adam Nathan and his excellent book Silverlight 1.0 Unleashed Silverlight 1.0 Unleashed by Adam Nathan Read more about this title… You can achieve the startling effect of introducing sharp lines within a linear gradient by … Continue reading →

Posted in z Silverlight Archives | Comments Off on Did You Know That… You can get sharp lines within a linear gradient?

Does Canvas.Height default to zero or auto?

In today's Tip of the Day I wrote that Canvas's Height and Width properties default to zero. A reader wrote to me in email saying, Actually, unless it was implemented differently in Silverlight than in WPF (which I cannot exclude), … Continue reading →

Posted in z Silverlight Archives | Comments Off on Does Canvas.Height default to zero or auto?