Exemplo n.º 1
0
        internal static void ShowHelp()
        {
            var flyout = new BasicFlyout(new HelpPane());

            flyout.Width = BasicFlyoutWidth.Wide;
            flyout.Show();
        }
Exemplo n.º 2
0
        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(); }));
        }
Exemplo n.º 3
0
 internal static void ShowHelp()
 {
     var flyout = new BasicFlyout(new HelpPane());
     flyout.Width = BasicFlyoutWidth.Wide;
     flyout.Show();
 }
Exemplo n.º 4
0
 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(); }));
 }