4
Shouts

WPF: How To Animate Visibility Property? - Arik Poznanski's Blog

posted by arikarik 837 days, 10 hours, 19 minutes ago
Sunday, February 07, 2010 10:27:53 PM GMT

WPF: How To Animate Visibility Property? In this post I’ll show you an easy way to add fade-in / fade-out effects to your user controls, when you change their Visibility property. Adding the animation is done with an attached property, so using the code will be extremely simple. Usage Sample XAML: Code Behind:privatevoid Hide_Click(object sender, RoutedEventArgs e) {     Image.Visibility = Visibility.Hidden; }

privatevoid Show_Click(object sender, RoutedEventArgs e) {     Image.Visibili...

category: Smart Client | clicked: 3 | | source: blogs.microsoft.co.il | show counter code
tags: .NET, WPF, Animation, Visibility

1 comment posted.

To post your comment please login or signup