Ejemplo n.º 1
0
        /// <summary>
        /// Close button tapped method
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private async void Close_Tapped(object sender, TappedRoutedEventArgs e)
        {
            Grid       g = sender as Grid;
            Storyboard s = g.Resources["CloseButtonStoryboard"] as Storyboard;

            s.Begin();
            CloseButtonTapped?.Invoke(this.Content, e);
            await HideDialogAsync(300);
        }
Ejemplo n.º 2
0
        void ControlsOverlayView_TrashButtonTouched(object sender, EventArgs e)
        {
            takenPhotosOverlayView.RemoveLastTappedCell();

            TrashButtonTapped?.Invoke(this, new EventArgs());

            if (Photos.Count == 0)
            {
                CloseButtonTapped?.Invoke(this, new EventArgs());
            }
            else
            {
                SelectLastItem();
            }
        }
Ejemplo n.º 3
0
 void ControlsOverlayView_CloseButtonTouched(object sender, EventArgs e)
 {
     CloseButtonTapped?.Invoke(this, new EventArgs());
 }