DataTemplates inside Items Control

10 views
Skip to first unread message

DoWorkAsync()

unread,
Apr 12, 2017, 7:38:12 AM4/12/17
to ReactiveUI mailing list
Dear All,
I've noticed that the default behavior for reactiveui is to try to resolve the view using its own locator instead of simply using the WPF implicit template mechanism. 

This would mean that inside an ItemsControl whose ItemsSource is set to a collection of business objects, using a data template with x:Type so that each type of object is rendered with its own view won't work (since it would raise the locator error "View Cannot be resolve".   

What is the suggested approach for getting this to work and rendering different types using their own DataTemplates (without x:Key) ??
Thanks for any help on this


Reply all
Reply to author
Forward
0 new messages