28 references to VisualDiagnostics
PresentationCore (17)
System\Windows\Diagnostics\VisualDiagnostics.cs (3)
106
EventHandler<VisualTreeChangeEventArgs> visualTreeChanged =
VisualDiagnostics
.s_visualTreeChanged;
113
index =
VisualDiagnostics
.GetChildIndex(parent, child);
255
throw new InvalidOperationException(SR.Format(SR.MethodCallNotAllowed, nameof(
VisualDiagnostics
.EnableVisualTreeChanged)));
System\Windows\Diagnostics\XamlSourceInfoHelper.cs (2)
59
if (
VisualDiagnostics
.IsEnabled &&
60
VisualDiagnostics
.IsEnvironmentVariableSet(value, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable) &&
System\Windows\Media\Visual.cs (4)
2586
VisualDiagnostics
.VerifyVisualTreeChange(this);
2631
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
2655
VisualDiagnostics
.VerifyVisualTreeChange(this);
2657
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
System\Windows\Media3D\Viewport3DVisual.cs (4)
327
VisualDiagnostics
.VerifyVisualTreeChange(this);
361
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
378
VisualDiagnostics
.VerifyVisualTreeChange(this);
383
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
System\Windows\Media3D\Visual3D.cs (4)
235
VisualDiagnostics
.VerifyVisualTreeChange(this);
264
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
289
VisualDiagnostics
.VerifyVisualTreeChange(this);
291
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
PresentationFramework (11)
System\Windows\Diagnostics\BindingDiagnostics.cs (2)
30
IsEnabled =
VisualDiagnostics
.IsEnabled &&
VisualDiagnostics
.IsEnvironmentVariableSet(null, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable);
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (2)
35
IsEnabled =
VisualDiagnostics
.IsEnabled &&
36
VisualDiagnostics
.IsEnvironmentVariableSet(null, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable);
System\Windows\FrameworkContentElement.cs (1)
691
VisualDiagnostics
.VerifyVisualTreeChange(this);
System\Windows\FrameworkElement.cs (1)
2061
VisualDiagnostics
.VerifyVisualTreeChange(this);
System\Windows\Generated\FrameworkContentElement.cs (1)
313
VisualDiagnostics
.VerifyVisualTreeChange(this);
System\Windows\Generated\FrameworkElement.cs (1)
313
VisualDiagnostics
.VerifyVisualTreeChange(this);
System\Windows\ResourceDictionary.cs (3)
631
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);
691
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);
822
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);