O'Reilly logo

Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition by Matthew MacDonald

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

Bitmap Effects

Shapes, transforms, and brushes are core ingredients in 2-D drawings. Along with these basics (and the geometries and drawings you'll learn about next chapter), WPF also includes a few frills.

One of these frills is a set of bitmap effects: ready-made visual effects that you can apply to any element. The goal of bitmap effects is to give you an easy, declarative way to enhance the appearance of text, images, buttons, and other controls. Rather than write your own drawing code, you simply use one of the classes that derives from BitmapEffect (in the System.Windows.Media.Effects namespace) to get instant effects such as blurs, glows, and drop shadows.

There are two key disadvantages to bitmap effects. The first limitation is that ...

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