Hi I am working with MVVM design pattern where I want to change the type of control to be used based on the type of Item source object. My code for item source types :