Gets or sets the content of a ContentControl.
Syntax
<contentControl> singleObject </contentControl> -or- <contentControl>stringContent</contentControl>
<contentControl Content="stringContent"/>
XAML Values
- contentControl
-
A ContentControl object element, or an object element for a class that derives from ContentControl.
- singleObject
-
A single object element that declares the content. Typically this is a class that can support further content as child elements, such as a Panel class.
- stringContent
-
A string that is the Content of the ContentControl.
Property value
Type: System.Object [.NET] | Platform::Object [C++]
An object that contains the control's content. The default is null.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 3/12/2013