Declined
Last Updated: 14 Dec 2023 15:49 by ADMIN
Created by: Nico
Comments: 3
Category: ListView
Type: Bug Report
0

When updating to .net8 the following snippet doesn't work with target net8 (maui 8.0.3). Same works with net7 (up to 7.101).
Stops me from targeting net8.


<telerik:RadListView.FooterTemplate>
    <DataTemplate>
        <Grid
            BackgroundColor="{AppThemeBinding Dark={StaticResource ListElementColorDark},
                                              Light={StaticResource ListElementColorLight}}"
            IsVisible="{Binding CanSearchMore}">
            <telerik:RadBorder Padding="8,10" Style="{StaticResource ListItemContainer}">
                <Label HorizontalOptions="Start" Text="{Binding SearchMoreText}" />
            </telerik:RadBorder>
            <Grid.GestureRecognizers>
                <TapGestureRecognizer Command="{Binding SearchMoreCommand}" />
            </Grid.GestureRecognizers>
        </Grid>
    </DataTemplate>
</telerik:RadListView.FooterTemplate>

1. TapGestureRecognizer: Command is not executed / Click not detected
2. Style: Having a PointerOver in "ListItemContainer" works with net7. Doesn't work with net8

Declined
Last Updated: 25 Apr 2023 08:13 by ADMIN
Created by: Legrand
Comments: 1
Category: ListView
Type: Feature Request
0

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>