internal static void ShowHelp() { var flyout = new BasicFlyout(new HelpPane()); flyout.Width = BasicFlyoutWidth.Wide; flyout.Show(); }
void settings_CommandsRequested(SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args) { args.Request.ApplicationCommands.Add(new SettingsCommand("PrivacyStatement", "Privacy statement", async(e) => { await SettingsInteractionHelper.ShowPrivacyStatementAsync(); })); args.Request.ApplicationCommands.Add(new SettingsCommand("MySettings", "My Settings", (e) => { var flyout = new BasicFlyout(new MySettingsPane()); flyout.Width = BasicFlyoutWidth.Wide; flyout.Show(); })); args.Request.ApplicationCommands.Add(new SettingsCommand("Help", "Help", (e) => { ShowHelp(); })); }
internal static void ShowHelp() { var flyout = new BasicFlyout(new HelpPane()); flyout.Width = BasicFlyoutWidth.Wide; flyout.Show(); }
void settings_CommandsRequested(SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args) { args.Request.ApplicationCommands.Add(new SettingsCommand("PrivacyStatement", "Privacy Statement", async (e) => { await SettingsInteractionHelper.ShowPrivacyStatementAsync(); })); args.Request.ApplicationCommands.Add(new SettingsCommand("MySettings", "My Settings", (e) => { var flyout = new BasicFlyout(new MySettingsPane()); flyout.Width = BasicFlyoutWidth.Wide; flyout.Show(); })); args.Request.ApplicationCommands.Add(new SettingsCommand("Help", "Help", (e) => { ShowHelp(); })); }