Beispiel #1
0
 private void animate_normal()
 {
     AnimationLibrary.AnimateBrush(
         ((x) => this.Background = x),
         ((SolidColorBrush)this.Background).Color,
         BaseColor.Color,
         TimeSpan.FromSeconds(0.15));
 }
Beispiel #2
0
        private void animate_active()
        {
            var test = ((SolidColorBrush)this.Background).Color;

            AnimationLibrary.AnimateBrush(
                ((x) => this.Background = x),
                ((SolidColorBrush)this.Background).Color,
                ActiveColor.Color,
                TimeSpan.FromSeconds(0.15));
        }