Exemplo n.º 1
0
        public void AnimateSettingsMenu(double from, double to, TimeSpan time)
        {
            DoubleAnimation da = new DoubleAnimation(from, to, time);

            da.AccelerationRatio = 0;
            da.DecelerationRatio = 1;

            SettingsMenu.BeginAnimation(WidthProperty, da);
        }