Forum Xamarin.Forms

Generic data-bound StackLayout or similar?

Hi, I'm pretty new to Xamarin.Forms, but it seems pretty nifty.

One of the things I really liked about MVVM frameworks like Knockout.js (which was modeled somewhat on WPF) was the ability to just have a data-bound generic list:

<div data-bind="foreach: list">
    <div data-bind="text: name"></div>
</div>

I was hoping there would be something similar in Xamarin, but the closest seems to be making a ListView, but having it not expand to fill its container, and to do some evil renderer things to keep separators from showing up. Is there a way to just have a data-bound StackLayout or something?

Sign In or Register to comment.