상속: Windows.UI.Xaml.Controls.UserControl
예제 #1
0
        private async void butDoIt_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
        {
            TileLayouts layout = new TileLayouts();

            hiddenRenderingSurface.Children.Add(layout);

            await RenderUIElement(layout.FindName("tile310x310") as FrameworkElement, "tile310x310", 310, 310);
            await RenderUIElement(layout.FindName("tile310x150") as FrameworkElement, "tile310x150", 310, 150);


            hiddenRenderingSurface.Children.Remove(layout);

            layout = null;
        }
예제 #2
0
        private async void butDoIt_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
        {

            TileLayouts layout = new TileLayouts();
            hiddenRenderingSurface.Children.Add(layout);

            await RenderUIElement(layout.FindName("tile310x310") as FrameworkElement, "tile310x310", 310, 310);
            await RenderUIElement(layout.FindName("tile310x150") as FrameworkElement, "tile310x150", 310, 150);
            

            hiddenRenderingSurface.Children.Remove(layout);

            layout = null;

        }