Visual brush in XAML is really easy and yet extremely powerful to use. Here I’ve included a list of examples I’ve gathered over the past few days. You may find them interesting🙂
- Use Transforms and Opacity Masks to Create a Reflection. Although this is developed for Silverlight, it can be used in WPF as well.
- An even better example of using transforms and opacity masks to create reflection animations.
- A real-time visual brush for ink canvas. Excellent demo of the capability of visual brush in real time.
- (Video) Live video reflections for your application put by Lee Brimelow. Another excellent demo of real-time visual brush used to reflecting real-time video feed.
- The latest article by Xamlmoron.com shows some very interesting aspects of upsides and downsides of VisualBrush in WPF. I like the idea of using Visual Brush as the “Live Preview” window of larger screen resources you are rendering. This idea is very similar as the Live Preview we see in IE7 on Windows Vista, or the new Task Switcher on Windows Vista