Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Gridview in XAML-form?

$
0
0

Hi there.
Does anybody know how to make a gridview in a xaml-form ?
I need to present data same way as in a gridview in Windows.Form, like this:
I tried using Listview since Gridview is not available in xaml, but without success.
This is my code:

<StackLayout VerticalOptions="Start"  HorizontalOptions="Start">
                <ListView x:Name="listViewHandlePart">
                    <ListView.ItemTemplate>
                        <DataTemplate x:Name="dt">
                            <ViewCell>
                                <StackLayout Orientation="Vertical">
                                    <Label Text="{Binding PART_NO}" />
                                    <Label Text="{Binding LOCATION_NO}" />
                                    <Label Text="{Binding SERIAL_NO}" />
                                </StackLayout>
                            </ViewCell>
                        </DataTemplate>
                    </ListView.ItemTemplate>
                </ListView>
            </StackLayout>

Thanks in advance.

Friendly greetings
nbs


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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