DevDave - Dave Relyea's Silverlight Blog

Silverlight Phone and Rich Client Development

A better Slider for Windows Phone 7

The Slider control as shipped with the Windows Phone Developer Tools has some problems, both due to...

Author: Dave Relyea - MSFT Date: 10/04/2010

Panorama Tricks – Using XAML for your Background

If you are doing Windows Phone 7 development, chances are that you are either using or have...

Author: Dave Relyea - MSFT Date: 09/20/2010

Panorama Tricks – Using WrapPanel in wide PanoramaItems

The Silverlight for Windows Phone Toolkit also includes the WrapPanel from the Silverlight Tookit....

Author: Dave Relyea - MSFT Date: 09/17/2010

Panorama Tricks – How to eliminate blending seams in the background

If your Windows Phone 7 application includes a Panorama with a background, you may have seen...

Author: Dave Relyea - MSFT Date: 09/17/2010

Customizing a ToolTip

(Special thanks to Andre Michaud and Mike Russell who showed me how to do this.) ToolTips are quite...

Author: Dave Relyea - MSFT Date: 10/18/2008

Control Lifecycle

What happens when you create a Control? When do overrides get called and events get raised? When do...

Author: Dave Relyea - MSFT Date: 10/11/2008

Retemplating a Standard Control (Including VisualStateManager Stuff)

This example demonstrates how to give a Button new visuals and visual state by re-templating. It...

Author: Dave Relyea - MSFT Date: 07/27/2008

Silverlight Layout Fundamentals Part 2 - Layout Containers

In Layout Fundamentals Part 1, I started slowly, and demonstrated the need for a layout system. I...

Author: Dave Relyea - MSFT Date: 07/26/2008

Silverlight Layout Fundamentals Part 1 - What is Layout?

This is the first part of a series of articles on Silverlight 2's layout system. I'm going to start...

Author: Dave Relyea - MSFT Date: 07/20/2008

Layout Transitions - An Animatable WrapPanel

I've been playing around with RenderTransforms and decorators and such to make layout transitions,...

Author: Dave Relyea - MSFT Date: 07/17/2008

Using VS Snippets to Add DependencyProperties and Attached DependencyProperties

It can be a little tedious to type in everything that you need to define a DependencyProperty but...

Author: Dave Relyea - MSFT Date: 06/28/2008

Using an Attached DependencyProperty to Implement Pixel Snapping as an Attached Behavior

In a previous post, I introduced the Snapper element, which is a UserControl subclass that snaps its...

Author: Dave Relyea - MSFT Date: 06/22/2008

One of the common things that developers want to do is to navigate between pages of their...

Author: Dave Relyea - MSFT Date: 06/13/2008

DiscreteSlider - Adding Functionality with a Simple Control Subclass

How do you prevent the Slider from returning "ugly" values, and get it to "snap" to only the values...

Author: Dave Relyea - MSFT Date: 06/12/2008

Using Popup to create a Dialog class

Presenting a dialog to the user is a common task for many applications. Silverlight 2 does not have...

Author: Dave Relyea - MSFT Date: 06/07/2008

Layout Events - SizeChanged and LayoutUpdated

Executive Summary: Most of the time, SizeChanged is the right event to use, and LayoutUpdated is the...

Author: Dave Relyea - MSFT Date: 05/27/2008

Pixel Snapping - the Snapper Element

What is pixel snapping? Snapping in general usually refers to allowing a property to take discrete...

Author: Dave Relyea - MSFT Date: 05/26/2008

Why I Don't Like Canvas

In Silverlight 1.0, the only container element was Canvas. In Silverlight 2, there are a number of...

Author: Dave Relyea - MSFT Date: 05/21/2008