-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.ContentControl.ContentTemplateSelector |
winrt property |
Gets or sets a selection object that changes the DataTemplate to apply for content, based on processing information about the content item or its container at run time.
<contentControl ContentTemplateSelector="selectorReference" />
- selectorReference
- selectorReferenceA reference to an existing DataTemplateSelector. Typically this is a keyed resource, which you reference through a {StaticResource} markup extension usage.