I am trying to make an own control with a headerline and a contentarea. The Problem: The Content is not always a String which I can use with a label. It could be quite every possible contenttype. For example a List or a boolean, in this cases my control should use instead of a label for example a listview or a checkbox or some aquivalent stuff.
Furthermore, I made it work with a simple Class, which I called BindableContentView : ContentView, where I made the content bindable. But then I need to Bind this Content in my ViewModel and for this I need to implemnt an UI-Element in my ViewModel... This is not MVVM-Compliant, isn't it?
Any suggestions so far?
Thanks for your help!