Edytuj

Udostępnij za pośrednictwem


Page.Content Property

Definition

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