is it possible to bind an itemscontrol with canvas as template to multiple DataTemplates?
I have 2 collections and depending on the type I would like to display a di
You could have ObservableCollection in your ViewModel and bind the ItemsControl's Source to this collection.
Then, to get a different look for different types of data, you could two DataTemplates without x:Key, but with properly set DataType in your Resources. The ItemsControl will then automatically select the appropriate DataTemplate for your item.