Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
383
XamTabControl doesn't call ContentTemplateSelector
posted

I'm using a XamTabControl in with an ItemsSource that uses a CompositeCollection.  Based on the type of item for the tab, I want to use a different DataTemplate for the content.  So I created a ContentTemplateSelector. 

My problem is the ContentTemplateSelector never gets called.  If I change from a XamTabControl to a base TabControl - selector gets called just fine.  I think this is a bug, but if anyone has a workaround that would be great. 

Thanks.

Parents Reply Children