view MetroWpf/MetroWpf.Xaml/Transitions/TransitionSelector.cs @ 65:5d0c5cc83a7a

Click event handler added
author Steven Hollidge <stevenhollidge@hotmail.com>
date Sun, 22 Apr 2012 14:21:33 +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;
        }
    }
}