Windows.UI.Xaml.Controls.ContentControl.Content

June 22, 2022 · View on GitHub

-description

Gets or sets the content of a ContentControl.

-xaml-syntax

<contentControl>
    singleObject
</contentControl>
-or-
<contentControl>stringContent</contentControl>
- or -
<contentControl Content="stringContent"/>

-xaml-values

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.
## -property-value An object that contains the control's content. The default is **null**.

-remarks

-examples

-see-also