Beispiel #1
0
        protected override void OnWindowCreated(WindowCreatedEventArgs args)
        {
            SettingsPane.GetForCurrentView().CommandsRequested += (s, e) =>
                {
                    SettingsCommand command = new SettingsCommand("settings", "Settings", (handler) =>
                    {
                        MainSettingsFlyout sf = new MainSettingsFlyout();
                        sf.Show();
                    });

                    e.Request.ApplicationCommands.Add(command);
                };

            base.OnWindowCreated(args);
        }
 void App_OnSettingsPageRequest()
 {
     MainSettingsFlyout sf = new MainSettingsFlyout();
     sf.Show();
 }