Switch templates in xamarin based of bound property (NOT ItemTemplate)
问题 I have a Model that contains some data, and a field that can have one of three (enum) values. Socket, Tcp, Udp And a View that shows some details. The details that I want shown in the view differ according to the value of this property in the model. I have read all about ItemTemplates for Lists and Pickers, and I want to do something similar but just with a single view bound to a single property. If Socket => Show this view else => Show this other view. Both views have the same viewmodel.