ElementCompositionPreview.GetAppWindowContent(AppWindow) ElementCompositionPreview.GetAppWindowContent(AppWindow) ElementCompositionPreview.GetAppWindowContent(AppWindow) ElementCompositionPreview.GetAppWindowContent(AppWindow) Method

Definition

Retrieves the content root of an AppWindow.

public : static UIElement GetAppWindowContent(AppWindow appWindow)
static UIElement GetAppWindowContent(AppWindow appWindow) const;
public static UIElement GetAppWindowContent(AppWindow appWindow)
Public Shared Function GetAppWindowContent(appWindow As AppWindow) As UIElement

Parameters

appWindow
AppWindow AppWindow

The AppWindow to get the content from.

Returns

The content root of the AppWindow.

Additional features and requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)