예제 #1
0
 private void MainWindow_Loaded(object sender, RoutedEventArgs e)
 {
     Dispatcher.InvokeAsync(() =>
     {
         MyUserControl.IsInVisualBrush();
     });
 }
예제 #2
0
        private void Button_OnClick(object sender, RoutedEventArgs e)
        {
            Grid.Children.Remove(Border);

            MyUserControl.IsInVisualBrush();
        }