Background
WPFウィンドウの色の色遷移を行いたい。
これどうやってするの?
例えば:
Brush i_color = Brushes.Red; //this is the initial color
Brush f_color = Brushes.Blue; //this is the final color
ボタン1をクリックするButton
と
private void button1_Click(object sender, RoutedEventArgs e)
{
this.Background = f_color; //here the transition begins. I don't want to be quick. Maybe an interval of 4 seconds.
}