-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.ContentControl.Content |
winrt property |
Gets or sets the content of a ContentControl.
<contentControl>
singleObject
</contentControl>
-or-
<contentControl>stringContent</contentControl>
- or -
<contentControl Content="stringContent"/>
- contentControl
- contentControlA ContentControl object element, or an object element for a class that derives from ContentControl.
- singleObject
- singleObjectA 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
- stringContentA string that is the Content of the ContentControl.