O'Reilly logo

Silverlight 4 User Interface Cookbook by Vibor Cipan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring and using pixel shaders and effects

One of the new things introduced in Silverlight 3, and even better supported in Silverlight 4, through Expression Blend 4 is usage of different effects based on pixel shaders.

In this recipe I will show you how you can use pre-built, existing pixel-shader effects, and even how to change and animate these effects in order to achieve some really interesting visuals.

Getting ready

Start your Expression Blend 4 and create a new project. Make it a Silverlight 4 project and from the Language drop-down list choose C#.

How to do it -getting started with effects

  1. After you have created your new project, under the Objects and Timeline pane you will see UserControl and LayoutRoot. LayoutRoot is a Grid control hosted ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required