// apenas a partir da build 14393 private void Flyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { // gambiarra if (!clickedOnReminderSaveOrCancelButtons) { args.Cancel = true; } }
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; } }
private void UtilitySelectionFlyout_OnClosing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { FocusOnSelectedTextEditor(); }
private void MainMenuButtonFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { FocusOnSelectedTextEditor(); }
private void Newflyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { SetActiveInvertible(false); }
// Settings flyout closing private void Flyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { PaperColourBtn.Foreground = new SolidColorBrush(PaperColorPicker.Color); }
/// <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; }
private void Flyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs e) => e.Cancel = !Service.Platform.Active;
private void AddMapElementFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { }
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); }
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; }
private void timePickerFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { SetDateTime(sender.Target.Tag, (sender as TimePickerFlyout).Time); }
private void MonsterTagFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { MonsterLogList.SelectedItem = null; }
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(); }
private void RenameFlyout_Closing(FlyoutBase sender, FlyoutBaseClosingEventArgs args) { RenameText.Text = ""; }