ContentTemplateSelector is only called one time showing always the same datatemplate

Posted by msfanboy on Stack Overflow See other posts from Stack Overflow or by msfanboy
Published on 2010-04-02T09:08:13Z Indexed on 2010/04/02 9:13 UTC
Read the original article Hit count: 384

Hello,

I have made a sample demo VS 2010 RC sample project, because in my production project I have the same error using MVVM.

In my sample demo project I use only Code-behind without 3rd party dependencies so you can download the demo project here and run it for yourself: http://www.sendspace.com/file/mwx7wv

Now to the problem: When I click the girls/boys button it should switch the datatemplate, not?

What do I wrong?

© Stack Overflow or respective owner

Related posts about contenttemplateselector

Related posts about datatemplate