Page view counter

Browse by Tags

WebClient and LINQ Demo
Sunday, June 29, 2008 5:29 PM
This sample illustrates a simple usage of the WebClient and a LINQ query. The WebClient makes requests to an RSS feed from Adobe's kuler API which contains color themes defined by kuler users. The themes are then used to colorize an illustration.... Read More...
Windowing Demo for Silverlight 2 Beta
Thursday, May 22, 2008 2:50 PM
Click on the "Toggle Full Screen" to test this example. "Tile Windows" will layout thumbnails of the windows and clicking on a thumbnail will restore the windows. For this demo a FloatingWindow class has been created which inherits... Read More...
Scale 9 Image for Silverlight
Monday, May 12, 2008 8:15 PM
A scale 9 image divides an image into 9 regions which each scale differently when an image is scaled. Click on the "Toggle Full Screen" to try the example. Drag the white square with a red border to resize the shape. Take the following bitmap... Read More...
Spline Based Animation Helper
Friday, May 02, 2008 10:04 PM
This code sample demonstrates an animation helper class to wrap up the code needed to animate a FrameworkElement's properties. This will work if the property is a double as well all of the object's transform properties. User defined dependency... Read More...
InnerGlow Effect For Silverlight 2 Beta 1
Wednesday, April 30, 2008 1:15 AM
I have taken the project from the previous post and extended the effect class to support an Inner Glow. The basic difference between the composition of the Inner Glow and the previous effects is that the gradients are reversed and the z index is changed... Read More...
Drop Shadow Effect for Silverlight 2 Beta 1
Monday, April 21, 2008 5:16 PM
A configurable shadow effect can be achieved for Silverlight 2 Beta 1 with the use of the Grid control and gradient fills. This will work for rectangular and rounded rectangular content. The code is built off of the previous glow effect post. The ShadowBox... Read More...
Glow Effect for Silverlight 2 Beta 1
Thursday, April 17, 2008 9:21 PM
A configurable glow effect can be achieved for Silverlight 2 Beta 1 with the use of the Grid control and gradient fills. This will achieve the effect for rectangular and rounded rectangular controls. The GlowBox control is composed of a Canvas containing... Read More...
Simple Xaml Drop Shadows in Silverlight 2
Thursday, April 03, 2008 6:11 PM
A while back, I showed how to vectorize "drop shadows" in Expression Design. It wasn't perfect (especially at the start and stop points of the line), but it was quick, easy, and didn't require any additional png files. Since then, Expression... Read More...
Simulating Drop Shadows in Silverlight using Expression Design
Saturday, January 26, 2008 4:32 PM
Silverlight lacks the bitmap effects that are commonly used in WPF applications. Most can be simulated using pngs, but some can also be simulated using xaml. The example below shows a passable (but not perfect) drop shadow effect that relies only on vector... Read More...

This Blog

Syndication