4.179 DataTemplateSelector

x:Object > DataTemplateSelector
DataTemplateSelector
(usage)
<DataTemplateSelector />
(description)
Provides a way to choose a DataTemplate based on the data object and the data-bound element.
(used by)
ContentControl ContentPresenter DataGrid DataGridColumn DataGridRow DataGridTemplateColumn GridView GridViewColumn GridViewHeaderRowPresenter GroupStyle HeaderedContentControl HeaderedItemsControl HierarchicalDataTemplate ItemsControl RibbonApplicationMenu RibbonContextualTabGroup RibbonGallery TabControl