28 references to VisualDiagnostics
PresentationCore (17)
System\Windows\Diagnostics\VisualDiagnostics.cs (3)
111
EventHandler<VisualTreeChangeEventArgs> visualTreeChanged =
VisualDiagnostics
.s_visualTreeChanged;
118
index =
VisualDiagnostics
.GetChildIndex(parent, child);
260
throw new InvalidOperationException(SR.Format(SR.MethodCallNotAllowed, nameof(
VisualDiagnostics
.EnableVisualTreeChanged)));
System\Windows\Diagnostics\XamlSourceInfoHelper.cs (2)
60
if (
VisualDiagnostics
.IsEnabled &&
61
VisualDiagnostics
.IsEnvironmentVariableSet(value, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable) &&
System\Windows\Media\Visual.cs (4)
2602
VisualDiagnostics
.VerifyVisualTreeChange(this);
2647
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
2671
VisualDiagnostics
.VerifyVisualTreeChange(this);
2673
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
System\Windows\Media3D\Viewport3DVisual.cs (4)
338
VisualDiagnostics
.VerifyVisualTreeChange(this);
372
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
389
VisualDiagnostics
.VerifyVisualTreeChange(this);
394
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
System\Windows\Media3D\Visual3D.cs (4)
243
VisualDiagnostics
.VerifyVisualTreeChange(this);
272
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
297
VisualDiagnostics
.VerifyVisualTreeChange(this);
299
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
PresentationFramework (11)
System\Windows\Diagnostics\BindingDiagnostics.cs (2)
32
IsEnabled =
VisualDiagnostics
.IsEnabled &&
VisualDiagnostics
.IsEnvironmentVariableSet(null, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable);
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (2)
41
IsEnabled =
VisualDiagnostics
.IsEnabled &&
42
VisualDiagnostics
.IsEnvironmentVariableSet(null, XamlSourceInfoHelper.XamlSourceInfoEnvironmentVariable);
System\Windows\FrameworkContentElement.cs (1)
703
VisualDiagnostics
.VerifyVisualTreeChange(this);
System\Windows\FrameworkElement.cs (1)
2072
VisualDiagnostics
.VerifyVisualTreeChange(this);
System\Windows\Generated\FrameworkContentElement.cs (1)
319
VisualDiagnostics
.VerifyVisualTreeChange(this);
System\Windows\Generated\FrameworkElement.cs (1)
319
VisualDiagnostics
.VerifyVisualTreeChange(this);
System\Windows\ResourceDictionary.cs (3)
641
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);
701
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);
832
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);