Share via


WindowsXamlManager.GetForCurrentThread Method

Definition

Gets the WindowsXamlManager object associated with the current thread, if any.

public:
 static WindowsXamlManager ^ GetForCurrentThread();
 static WindowsXamlManager GetForCurrentThread();
public static WindowsXamlManager GetForCurrentThread();
function getForCurrentThread()
Public Shared Function GetForCurrentThread () As WindowsXamlManager

Returns

The WindowsXamlManager object associated with the current thread, or null if the XAML runtime isn't running on the thread.

Applies to