I tried to make an horizontal listview, using ListViewGridLayout. I want only one row with all the items from the collection.
I don't know how to set the SpanCount properly.
In the template, the image is not displayed (the function ImageResource is working in other control), only the Label is displayed.
<telerik:RadListView
Grid.Column="3"
ItemsSource="{Binding StepList}"
>
<telerik:RadListView.ItemTemplate>
<DataTemplate>
<telerik:ListViewTemplateCell>
<telerik:ListViewTemplateCell.View>
<Grid>
<HorizontalStackLayout Margin="10, 10, 10, 0">
<Image IsVisible="True" Source="{versares:ImageResource Images.nextstep.jpg}" HeightRequest="16" VerticalOptions="Center" />
<Label Text="{Binding DisplayedName}" FontSize="16" FontAttributes="Bold" TextColor="Black" VerticalOptions="Center" />
</HorizontalStackLayout>
</Grid>
</telerik:ListViewTemplateCell.View>
</telerik:ListViewTemplateCell>
</DataTemplate>
</telerik:RadListView.ItemTemplate>
<telerik:RadListView.LayoutDefinition>
<telerik:ListViewGridLayout
SpanCount="{Binding StepListCount}"
HorizontalItemSpacing="2"
VerticalItemSpacing="2" />
</telerik:RadListView.LayoutDefinition>
</telerik:RadListView>