DesktopWindowXamlSource.Content Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan atau mengatur objek Windows.UI.Xaml.UIElement yang ingin Anda host di aplikasi desktop.
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
Nilai Properti
Objek yang ingin Anda host di aplikasi desktop.