Share via


ElementCompositionPreview.GetAppWindowContent(AppWindow) Method

Definition

Retrieves the content root of an AppWindow.

public:
 static UIElement ^ GetAppWindowContent(AppWindow ^ appWindow);
 static UIElement GetAppWindowContent(AppWindow const& appWindow);
public static UIElement GetAppWindowContent(AppWindow appWindow);
function getAppWindowContent(appWindow)
Public Shared Function GetAppWindowContent (appWindow As AppWindow) As UIElement

Parameters

appWindow
AppWindow

The AppWindow to get the content from.

Returns

The content root of the AppWindow.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Applies to