DesktopWindowXamlSource.Content Property

Definition

Gets or sets the Windows.UI.Xaml.UIElement object that you want to host in the desktop application.

public:
 property UIElement ^ Content { UIElement ^ get(); void set(UIElement ^ value); };
UIElement Content();

void Content(UIElement value);
public UIElement Content { get; set; }
var uIElement = desktopWindowXamlSource.content;
desktopWindowXamlSource.content = uIElement;
Public Property Content As UIElement

Property Value

The object that you want to host in the desktop application.

Applies to