skip to Main Content

Visual Studio Code – .NET MAUI How to make a proper Gridlayout in Collectionview with Header?

I'm trying to build a table in .NET MAUI based on a Grid Layout. This is the code: <CollectionView ItemsSource="{Binding digitalInputs}"> <CollectionView.Header> <Grid ColumnDefinitions="*,*,*,*"> <Label Text="Name" Grid.Column="0"/> <Label Text="Typ" Grid.Column="1"/> <Label Text="Status" Grid.Column="2"/> <Label Text="Aktiv" Grid.Column="3"/> </Grid> </CollectionView.Header> <CollectionView.ItemTemplate> <DataTemplate…

VIEW QUESTION
Back To Top
Search