March 2010
Intermediate to advanced
1216 pages
33h 44m
English
WPF provides visual effects that you can apply to any element. The goal of 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 Effect (in the System.Windows.Media.Effects namespace) to get instant effects such as blurs, glows, and drop shadows.
Table 14-2 lists the effect classes that you can use.
| Name | Description | Properties |
|---|---|---|
| BlurEffect | Blurs the content in your element. | Radius, KernelType, RenderingBias |
| DropShadowEffect | Adds a rectangular drop shadow behind your element. | BlurRadius, Color, Direction, Opacity, ShadowDepth, RenderingBias |
| ShaderEffect | Applies a pixel ... |
Read now
Unlock full access