// apenas a partir da build 14393
 private void Flyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     // gambiarra
     if (!clickedOnReminderSaveOrCancelButtons)
     {
         args.Cancel = true;
     }
 }
Beispiel #2
0
        private void MenuFlyoutClosing(FlyoutBase sender, FlyoutBaseClosingEventArgs e)
        {
            if (AdaptiveStates.CurrentState == NarrowState)
            {
                MasterListView.SelectionMode = ListViewSelectionMode.None;

                SelectedCountdown = null;

                VisualStateManager.GoToState(this, UnselectedState.Name, true);
            }
            else
            {
                MasterListView.SelectionMode = ListViewSelectionMode.Single;
            }
        }
Beispiel #3
0
 private void UtilitySelectionFlyout_OnClosing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     FocusOnSelectedTextEditor();
 }
Beispiel #4
0
 private void MainMenuButtonFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     FocusOnSelectedTextEditor();
 }
 private void Newflyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     SetActiveInvertible(false);
 }
Beispiel #6
0
 // Settings flyout closing
 private void Flyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     PaperColourBtn.Foreground = new SolidColorBrush(PaperColorPicker.Color);
 }
Beispiel #7
0
 /// <summary>
 /// Save the new settings
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void FlyoutStackpanel_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     localSettings.Values[configValueName] = configFileTextBoxValue;
 }
Beispiel #8
0
 private void Flyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs e) => e.Cancel = !Service.Platform.Active;
 private void AddMapElementFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
 }
Beispiel #10
0
 void OnMemoryFlyoutClosing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     // Set in the Closing event so the new name is available when the Flyout has Closed.
     AutomationProperties.SetName(MemoryButton, m_openMemoryFlyoutAutomationName);
 }
Beispiel #11
0
 private void datePicker_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     //var s = sender.Target.Tag;
     SetDateTime(sender.Target.Tag, (sender as DatePickerFlyout).Date.Date);
     var d = (sender as DatePickerFlyout).Date.Date;
 }
Beispiel #12
0
 private void timePickerFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     SetDateTime(sender.Target.Tag, (sender as TimePickerFlyout).Time);
 }
Beispiel #13
0
 private void MonsterTagFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     MonsterLogList.SelectedItem = null;
 }
Beispiel #14
0
 private void ColorFlyout_OnClosing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     _colorTarget = null;
 }
 private void LoadFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     LoadFlyoutUserPath.Text = "";
 }
 private void StatusBarFlyout_OnClosing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     NotepadsCore.FocusOnSelectedTextEditor();
 }
Beispiel #17
0
 private void RenameFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args)
 {
     RenameText.Text = "";
 }