private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            MyUserControl control = new MyUserControl();
            control.Width = Window.Current.Bounds.Width;
            control.Height = Window.Current.Bounds.Height;

            popup.Child = control;

            popup.IsOpen = true;
        }
Esempio n. 2
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            MyUserControl control = new MyUserControl();

            control.Width  = Window.Current.Bounds.Width;
            control.Height = Window.Current.Bounds.Height;

            popup.Child = control;

            popup.IsOpen = true;
        }