Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How can I dynamically create a horizontal stack of buttons?

$
0
0

I want add a dynamically generated row of buttons on my form. The number and content of the buttons needs to come from a BindingContext. For a static row of such buttons, I'd obviously use a StackLayout, but the Children property of the StackLayout is not a bindable property.

How can I go about doing this?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>