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