Content Property

Page.Content Property

Gets or sets content of a Page. This is a dependency property.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

public Object Content { get; set; }
/** @property */
public Object get_Content ()

/** @property */
public void set_Content (Object value)

public function get Content () : Object

public function set Content (value : Object)

  <Object .../>

Property Value

A Object that contains the content of a Page. MessageFontFamily is the default.

Identifier Field


Metadata Flags


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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

© 2015 Microsoft