ElementCompositionPreview.SetAppWindowContent(AppWindow, UIElement) Método

Definição

Define um UIElement XAML como a raiz de conteúdo de um AppWindow.

public:
 static void SetAppWindowContent(AppWindow ^ appWindow, UIElement ^ xamlContent);
 static void SetAppWindowContent(AppWindow const& appWindow, UIElement const& xamlContent);
public static void SetAppWindowContent(AppWindow appWindow, UIElement xamlContent);
function setAppWindowContent(appWindow, xamlContent)
Public Shared Sub SetAppWindowContent (appWindow As AppWindow, xamlContent As UIElement)

Parâmetros

appWindow
AppWindow

O AppWindow para o qual definir o conteúdo.

xamlContent
UIElement

O conteúdo a ser definido.

Requisitos do Windows

Família de dispositivos
Windows 10, version 1903 (introduzida na 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v8.0)

Aplica-se a