-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.UserControl.Content |
winrt property |
Gets or sets the content that is contained within a user control.
<UserControl ...>
singleContentElement
</UserControl>
-or-
<UserControl .../>
- singleContentElement
- singleContentElementExactly one object element for a class that derives from UIElement. This is almost always an object that can take child elements (such as a Panel) so that multiple elements can be added to content. XAML processing of a UserControl has a special behavior that sets this content to the otherwise protected Content property.