Edit

Share via


VisualDiagnostics Class

Definition

Enables tooling for analyzing XAML visual trees.

public ref class VisualDiagnostics abstract sealed
public static class VisualDiagnostics
type VisualDiagnostics = class
Public Class VisualDiagnostics
Inheritance
VisualDiagnostics

Remarks

This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Methods

DisableVisualTreeChanged()

Disables the VisualTreeChanged event.

EnableVisualTreeChanged()

Enables the VisualTreeChanged event.

GetXamlSourceInfo(Object)

Returns an instance of XamlSourceInfo that contains information about the XAML source document for the specified object.

Events

VisualTreeChanged

Occurs when a managed debugger is attached and any element is added to or removed from the visual tree of another element, regardless of whether either of the elements are descendants of any other specific element.

Applies to