共用方式為


DesktopWindowXamlSource.Content 屬性

定義

取得或設定您要裝載于傳統型應用程式中的 Microsoft.UI.Xaml.UIElement 物件。

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

屬性值

您想要在傳統型應用程式中裝載的物件。

適用於