view MetroWpf/MetroWpf.Xaml/Transitions/TransitionSelector.cs @ 73:d06c852e0167

looking good!
author Steven Hollidge <stevenhollidge@hotmail.com>
date Mon, 23 Apr 2012 19:15:52 +0100
parents a8b50a087544
children
line wrap: on
line source

using System.Windows;

namespace MetroWpf.Xaml.Transitions
{
    // Allows different transitions to run based on the old and new contents
    // Override the SelectTransition method to return the transition to apply
    public class TransitionSelector : DependencyObject
    {
        public virtual Transition SelectTransition(object oldContent, object newContent)
        {
            return null;
        }
    }
}