Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.04 KB

contentcontrol_contenttemplateselector.md

File metadata and controls

35 lines (23 loc) · 1.04 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.ContentControl.ContentTemplateSelector
winrt property

Windows.UI.Xaml.Controls.ContentControl.ContentTemplateSelector

-description

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.

-xaml-syntax

<contentControl ContentTemplateSelector="selectorReference" />

-xaml-values

selectorReference
selectorReferenceA reference to an existing DataTemplateSelector. Typically this is a keyed resource, which you reference through a {StaticResource} markup extension usage.
## -property-value A selection object that changes the [DataTemplate](../windows.ui.xaml/datatemplate.md) to apply for content.

-remarks

-examples

-see-also

DataTemplateSelector