.xaml x:Name="FILMainWindow" .xaml.cs DoubleAnimation daV = new DoubleAnimation(0, 1, new Duration(TimeSpan.FromSeconds(.3))); this.FILMainWindow.BeginAnimation(UIElement.OpacityProperty, daV);