private void animate_normal() { AnimationLibrary.AnimateBrush( ((x) => this.Background = x), ((SolidColorBrush)this.Background).Color, BaseColor.Color, TimeSpan.FromSeconds(0.15)); }
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)); }