Redigera

Dela via


ResourceDictionaryDiagnostics Class

Definition

Enables enumeration of generic and themed ResourceDictionary instances, and provides a notification infrastructure for listening to the loading and unloading of ResourceDictionary instances.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Remarks

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

Properties

GenericResourceDictionaries

Gets all instances of generic ResourceDictionary objects loaded by the application when a managed debugger is attached.

ThemedResourceDictionaries

Gets all instances of themed ResourceDictionary objects loaded by the application when a managed debugger is attached.

Methods

GetApplicationOwners(ResourceDictionary)

Gets the application owners of a specified resource dictionary.

GetFrameworkContentElementOwners(ResourceDictionary)

Gets the framework content owners of a specified resource dictionary.

GetFrameworkElementOwners(ResourceDictionary)

Gets the framework element owners of a specified resource dictionary.

GetResourceDictionariesForSource(Uri)

Finds the resource dictionaries created from a given source URI.

Events

GenericResourceDictionaryLoaded

Occurs when a managed debugger is attached and a generic ResourceDictionary object is loaded by the application.

StaticResourceResolved

Occurs when a static resource reference is resolved.

ThemedResourceDictionaryLoaded

Occurs when a managed debugger is attached, and a themed ResourceDictionary object is loaded by the application.

ThemedResourceDictionaryUnloaded

Occurs when a managed debugger is attached and a themed ResourceDictionary object is unloaded from the application.

Applies to