Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ContentPage.Content>
- <StackLayout>
- <CollectionView x:Name="gridReport" ItemsSource="{Binding report}" ItemsLayout ="VerticalList">
- <CollectionView.Header >
- <Grid x:Name="grid" Padding="10" ColumnSpacing="2" HeightRequest="90" >
- <Grid.RowDefinitions>
- <RowDefinition Height="80" />
- <RowDefinition Height="80" />
- <RowDefinition Height="80" />
- <RowDefinition Height="80" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="95" />
- <ColumnDefinition Width="100" />
- <ColumnDefinition Width="100" />
- <ColumnDefinition Width="80" />
- </Grid.ColumnDefinitions>
- <Frame BackgroundColor="GhostWhite" BorderColor="Black" Grid.Column="0">
- <Label Text="Report name" TextColor="Black" FontAttributes="Bold"/>
- </Frame>
- <Frame BackgroundColor="GhostWhite" BorderColor="Black" Grid.Column="1" >
- <Label Text="Review coverage" TextColor="Black" FontAttributes="Bold"/>
- </Frame>
- <Frame BackgroundColor="GhostWhite" BorderColor="Black" Grid.Column="2">
- <Label Text="Warnings" TextColor="Black" FontAttributes="Bold"/>
- </Frame>
- <Frame BackgroundColor="GhostWhite" BorderColor="Black" Grid.Column="3">
- <Label Text="Errors" TextColor="Black" FontAttributes="Bold"/>
- </Frame>
- </Grid>
- </CollectionView.Header>
- <CollectionView.ItemTemplate>
- <DataTemplate>
- <Grid x:Name="grid" Padding="10" ColumnSpacing="2" HeightRequest="90">
- <Grid.RowDefinitions>
- <RowDefinition Height="80" />
- <RowDefinition Height="80" />
- <RowDefinition Height="80" />
- <RowDefinition Height="80" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="165" />
- <ColumnDefinition Width="70" />
- <ColumnDefinition Width="70" />
- <ColumnDefinition Width="70" />
- <!--{Binding openReport}-->
- </Grid.ColumnDefinitions>
- <!--<Frame BackgroundColor="GhostWhite" Text="{Binding m_sReportName}" Command="{Binding Source={x:Reference gridReports}, Path=BindingContext.openReport}" CommandParameter="{Binding m_sReportName}" BorderWidth="1" BorderColor="Black" Grid.Column="0"/>-->
- <Frame BackgroundColor="GhostWhite" BorderColor="Black" Grid.Column="0">
- <Label Text="{Binding report}" />
- </Frame>
- <Frame BackgroundColor="GhostWhite" BorderColor="Black" Grid.Column="1">
- <Label Text="{Binding m_nCoverage}" />
- </Frame>
- <Frame BackgroundColor="GhostWhite" BorderColor="Black" Grid.Column="2">
- <Label Text="{Binding m_nCoverage}" />
- </Frame>
- <Frame BackgroundColor="GhostWhite" BorderColor="Black" Grid.Column="3">
- <Label Text="{Binding m_nCoverage}" />
- </Frame>
- <Button BackgroundColor="GhostWhite" Text="{Binding m_nErrors}" BorderWidth="1" BorderColor="Black" Grid.Column="4"/>
- </Grid>
- </DataTemplate>
- </CollectionView.ItemTemplate>
- </CollectionView>
- </StackLayout>
- </ContentPage.Content>
- </ContentPage>
Advertisement
Add Comment
Please, Sign In to add comment