28 references to VisualDiagnostics
PresentationCore (17)
System\Windows\Diagnostics\VisualDiagnostics.cs (3)
105EventHandler<VisualTreeChangeEventArgs> visualTreeChanged = VisualDiagnostics.s_visualTreeChanged; 112index = VisualDiagnostics.GetChildIndex(parent, child); 254throw new InvalidOperationException(SR.Format(SR.MethodCallNotAllowed, nameof(VisualDiagnostics.EnableVisualTreeChanged)));
System\Windows\Diagnostics\XamlSourceInfoHelper.cs (2)
58if (VisualDiagnostics.IsEnabled && 59VisualDiagnostics.IsEnvironmentVariableSet(value, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable) &&
System\Windows\Media\Visual.cs (4)
2583VisualDiagnostics.VerifyVisualTreeChange(this); 2628VisualDiagnostics.OnVisualChildChanged(this, child, true); 2652VisualDiagnostics.VerifyVisualTreeChange(this); 2654VisualDiagnostics.OnVisualChildChanged(this, child, false);
System\Windows\Media3D\Viewport3DVisual.cs (4)
326VisualDiagnostics.VerifyVisualTreeChange(this); 357VisualDiagnostics.OnVisualChildChanged(this, child, true); 374VisualDiagnostics.VerifyVisualTreeChange(this); 379VisualDiagnostics.OnVisualChildChanged(this, child, false);
System\Windows\Media3D\Visual3D.cs (4)
234VisualDiagnostics.VerifyVisualTreeChange(this); 263VisualDiagnostics.OnVisualChildChanged(this, child, true); 288VisualDiagnostics.VerifyVisualTreeChange(this); 290VisualDiagnostics.OnVisualChildChanged(this, child, false);
PresentationFramework (11)
System\Windows\Diagnostics\BindingDiagnostics.cs (2)
29IsEnabled = VisualDiagnostics.IsEnabled && VisualDiagnostics.IsEnvironmentVariableSet(null, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable);
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (2)
34IsEnabled = VisualDiagnostics.IsEnabled && 35VisualDiagnostics.IsEnvironmentVariableSet(null, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable);
System\Windows\FrameworkContentElement.cs (1)
680VisualDiagnostics.VerifyVisualTreeChange(this);
System\Windows\FrameworkElement.cs (1)
2052VisualDiagnostics.VerifyVisualTreeChange(this);
System\Windows\Generated\FrameworkContentElement.cs (1)
310VisualDiagnostics.VerifyVisualTreeChange(this);
System\Windows\Generated\FrameworkElement.cs (1)
310VisualDiagnostics.VerifyVisualTreeChange(this);
System\Windows\ResourceDictionary.cs (3)
630System.Windows.Diagnostics.VisualDiagnostics.VerifyVisualTreeChange(InheritanceContext); 690System.Windows.Diagnostics.VisualDiagnostics.VerifyVisualTreeChange(InheritanceContext); 821System.Windows.Diagnostics.VisualDiagnostics.VerifyVisualTreeChange(InheritanceContext);