Exemple #1
0
        private void WindowSizeChanged(object sender, SizeChangedEventArgs e)
        {
            double width  = e.NewSize.Width;
            double height = e.NewSize.Height;

            DeckOptionsPage.ScaleWithWindow(width, height, rootGridScale);
        }
Exemple #2
0
        private void PageSizeChanged(object sender, SizeChangedEventArgs e)
        {
            double width  = e.NewSize.Width;
            double height = e.NewSize.Height;

            DeckOptionsPage.ScaleWithWindow(width, height, logoScale);
            DeckOptionsPage.ScaleWithWindow(width, height, welcomScale);
            DeckOptionsPage.ScaleWithWindow(width, height, quoteScale);
            DeckOptionsPage.ScaleWithWindow(width, height, progressScale);
        }