city)"); if (Info.Opacity == 0) {sb.Begin ();}} private void Page_Tapped_1 (object sender, TappedRoutedEventArgs e) {Duration dur = new Duration (TimeSpan.FromSeconds (2)); var da = new DoubleAnimation (); da.From = 1; da.To = 0; var sb = new Storyboard (); sb.Duration = dur; sb.Children.Add (da); Storyboard. SetTarget (da, Info); Storyboard.SetTargetProperty (da, "(Opacity)"); if (Info.Opacity == 1) {sb.Begin ();}}}
}