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

flexlayout Binding

$
0
0

Hi I am testing the new Flexlayout to create a new view with multiple Buttons from a ObservableCollection in code ..

** foreach (var item in Transitems)
{
Button _button = new Button
{
Image = item.ImageName, IsEnabled = item.IsButtonOn,
WidthRequest = 160, Command = new Command (() => //do something )
};

            FlexGrid.Children.Add(_button);
        }**

Is it possible to set the Source like a ListView in XMAL ?

Thansk


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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