One solution would be to bind single property from the ViewModel to the SelectedItem property of the ListBox and to the Content property of the TransitionControl. Afterwards by using ContentTemplateSelector
you would be able to change the current ContentTemplate
whenever the bound Content property changes.
Hope this will help you. However if this is not applicable in your scenario, I would like to ask you to share a sample project demonstrating the exact case so we can provide prompt solution.
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.