Skip Navigation LinksHome / News / View News

Animating an Opacity Mask with a Behavior

+ Add to SilverlightShow Favorites
0 comments   /   posted by Phil Middlemiss on Mar 11, 2010
(0 votes)
Phil Middlemiss describes a behavior he has written that allows you to create an Opacity Mask that can be animated.

Masking with a behavior
An Opacity Mask "layer" allows for animation, so you can do things like a moving spot light revealing parts of an image, or have a foggy border animating around something.

This is a Behavior I've written that lets you turn a FrameworkElement into an opacity mask for it's parent container.


Comments RSS RSS
No comments

Add Comment


Please add 6 and 6 and type the answer here:

Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)