Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.05 KB

contentcontrol_content.md

File metadata and controls

41 lines (30 loc) · 1.05 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.ContentControl.Content
winrt property

Windows.UI.Xaml.Controls.ContentControl.Content

-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