Example #1
0
 private void HidePopupAnimation_Completed(object sender, object e)
 {
     while (NoteFrame.CanGoBack)
     {
         NoteFrame.GoBack();
     }
     NoteFrame.BackStack.Clear();
     NotePopup.IsOpen = false;
 }
Example #2
0
        public void OpenNote(object parameter)
        {
            UpdateNotePopupSizeAndPosition();
            NoteOpening?.Invoke(this, EventArgs.Empty);
            ShowPopupAnimation.Begin();

            while (NoteFrame.CanGoBack)
            {
                NoteFrame.GoBack();
            }
            NoteFrame.BackStack.Clear();
            NoteFrame.Navigate(typeof(NoteEditPage), parameter);

            NotePopup.IsOpen = true;
            NoteOpened?.Invoke(this, new GenericEventArgs(parameter));
        }