Page.Content Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the content of a Page.
public:
property System::Object ^ Content { System::Object ^ get(); void set(System::Object ^ value); };
public object Content { get; set; }
member this.Content : obj with get, set
Public Property Content As Object
Property Value
An object that contains the content of a Page. The default is MessageFontFamily.
Remarks
A Page can have only a single child element. All other elements on a Page must be descendents of that element. Typically, the content of a Page hosts a layout element - such as Grid, StackPanel, and DockPanel - that hosts the content of the Page.
Dependency Property Information
Identifier field | ContentProperty |
Metadata properties set to true |
None |
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.