private void RedoLayout()
        {
            int resolvedWidth = NarrowWidthInPixels;
            if (this.Width == BasicFlyoutWidth.Wide)
                resolvedWidth = WideWidthInPixels;

            // configure the window...
            var bounds = Window.Current.Bounds;
            this.Popup.Height = bounds.Height;
            this.Popup.Width = resolvedWidth;
            this.Popup.SetValue(Canvas.LeftProperty, bounds.Width - resolvedWidth);
            this.Popup.SetValue(Canvas.TopProperty, 0);
            this.Popup.Loaded += Popup_Loaded;

            // move...
            this.View.Width = resolvedWidth;
            this.View.Height = bounds.Height;
        }
        private void RedoLayout()
        {
            int resolvedWidth = NarrowWidthInPixels;

            if (this.Width == BasicFlyoutWidth.Wide)
            {
                resolvedWidth = WideWidthInPixels;
            }

            // configure the window...
            var bounds = Window.Current.Bounds;

            this.Popup.Height = bounds.Height;
            this.Popup.Width  = resolvedWidth;
            this.Popup.SetValue(Canvas.LeftProperty, bounds.Width - resolvedWidth);
            this.Popup.SetValue(Canvas.TopProperty, 0);
            this.Popup.Loaded += Popup_Loaded;

            // move...
            this.View.Width  = resolvedWidth;
            this.View.Height = bounds.Height;
        }