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
Item | Value |
---|---|
Identifier field | ContentProperty |
Metadata properties set to true |
None |
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.