Hi! For my project I need to declare an itemTemplate in a stackLayout.
With the traditional xaml I could declare something like that:
< StackLayout Orientation="Horizontal" VerticalOptions="Fill" HorizontalOptions="Fill">
<StackLayout.ItemTemplate>
< DataTemplate>
< Button>
<Button.Template>
< Label HorizontalOptions="FillAndExpand" Height="60" />
< Image Aspect="AspectFill" VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand" />
</Button.Template>
< /Button>
< /DataTemplate>
< /StackLayout.ItemTemplate>
< /StackLayout>
How can i do whit xamarin.forms?