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.
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 1 and 7 and type the answer here:

Did you notice our new Silverlight-based Showcase section ? Check it out to get a bird's eye view of all showcases featured on SilverlightShow, with a quick thumbnail preview for easier browsing. Want to view the most recent showcases only? Use Group by Month option for a chronological listing.
This is the second redesigned, entirely Silverlight-based section in SilverlightShow, after the new Books section. We look forward to your feedback on both! (hide this)