4.127 ContentControl

x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > ContentControl, IInputElement
ContentControl
ButtonBase DataGridCell Frame GroupItem HeaderedContentControl Label ListBoxItem RibbonControl RibbonGalleryItem RibbonTabHeader ScrollViewer StatusBarItem ToolTip UserControl Window
(usage)
<ContentControl> x:Object </ContentControl>
(description)
Represents a control with a single piece of content of any type.
[content property]
Content
[name property]
Name
[xml lang property]
Language
(properties)
Content
x:Object
(description)
The content of a ContentControl.
ContentStringFormat
x:String
(description)
A composite string that specifies how to format the Content property if it is displayed as a string.
ContentTemplate
DataTemplate
(description)
The data template used to display the content of the ContentControl.
ContentTemplateSelector
DataTemplateSelector
(description)
A template selector that enables an application writer to provide custom template-selection logic.