Ejemplo n.º 1
0
        private void ToggleSettings()
        {
            var settingsFlyout = (Flyout)Flyouts.Items[0];

            settingsFlyout.IsOpen = !settingsFlyout.IsOpen;
            if (settingsFlyout.IsOpen)
            {
                DisplaySettings.SaveState();
            }
        }
Ejemplo n.º 2
0
        private void ToggleSettings(object sender, RoutedEventArgs e)
        {
            var settingsFlyout = (Flyout)Flyouts.Items[0];

            settingsFlyout.IsOpen = !settingsFlyout.IsOpen;
            if (settingsFlyout.IsOpen)
            {
                DisplaySettings.SaveState();
            }
        }