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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.