예제 #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);
        }
예제 #2
0
        void App_OnSettingsPageRequest()
        {
            MainSettingsFlyout sf = new MainSettingsFlyout();

            sf.Show();
        }