private void InitHelpPopupIfNeeded() { if (helpPopup == null) { helpPopup = new HelpPopup(); UIHelper.AddToGridInFull(MainPage.MainGrid, helpPopup); helpPopup.CloseXVisibility = Visibility.Visible; } helpPopup.ChangeReadMode(isNightMode); }
private void ChangeBackgroundColor() { UIHelper.ToggleNightLight(isNightMode, userControl); if (helpPopup != null) { helpPopup.ChangeReadMode(isNightMode); } }
private void ChangeBackgroundColor() { UIHelper.ToggleNightLight(isNightMode, userControl); if (isNightMode) { fieldListroot.Background = new SolidColorBrush(Windows.UI.Colors.Black); } else { fieldListroot.Background = new SolidColorBrush(Windows.UI.Colors.White); } if (helpPopup != null) { helpPopup.ChangeReadMode(isNightMode); } }
private void ChangeBackgroundColor() { if (isNightMode) { mainGrid.Background = new SolidColorBrush(Colors.Black); } else { mainGrid.Background = new SolidColorBrush(Windows.UI.Colors.White); } if (helpPopup != null) { helpPopup.ChangeReadMode(isNightMode); } if (customStudyFlyout != null) { customStudyFlyout.ChangeReadMode(isNightMode); } }