private void Grid_Tapped(object sender, Windows.UI.Xaml.Input.TappedRoutedEventArgs e) { if (!InEditMode) { if (Flash.GetCurrentState() != ClockState.Stopped) { Flash.Stop(); } Flash.Begin(); CopyCode(); NotifyCopyRequested(); } }