private void MainPage_CommandsRequested(Windows.UI.ApplicationSettings.SettingsPane sender, Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs args) { Windows.UI.ApplicationSettings.SettingsCommand generalSetting = new Windows.UI.ApplicationSettings.SettingsCommand("AppSettings", "SurferLite Settings", (handler) => { SettingsFlyoutGeneral generalSettingsFlyout = new SettingsFlyoutGeneral(); generalSettingsFlyout.Show(); }); args.Request.ApplicationCommands.Add(generalSetting); }
private void AppBarButtonSettings_Click(object sender, RoutedEventArgs e) { SettingsFlyoutGeneral updatesFlyout = new SettingsFlyoutGeneral(); updatesFlyout.ShowIndependent(); }