-
Notifications
You must be signed in to change notification settings - Fork 0
/
ListViewPage.xaml
28 lines (27 loc) · 1.36 KB
/
ListViewPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
xmlns:controls="clr-namespace:TelerikListViewCleanup"
x:Class="TelerikListViewCleanup.ListViewPage"
Title="ListViewPage">
<Grid RowDefinitions="Auto, Auto, Auto, *">
<Button Clicked="Button_Clicked" Text="Reload Items" />
<Button Clicked="Replace_Clicked" Text="Go to second page" Grid.Row="2"/>
<ContentView Grid.Row="3" x:Name="contentPlaceholder">
<telerik:RadListView ItemsSource="{Binding Items}">
<telerik:RadListView.ItemTemplate>
<DataTemplate>
<telerik:ListViewTemplateCell>
<telerik:ListViewTemplateCell.View>
<ContentView>
<controls:ListViewContent />
</ContentView>
</telerik:ListViewTemplateCell.View>
</telerik:ListViewTemplateCell>
</DataTemplate>
</telerik:RadListView.ItemTemplate>
</telerik:RadListView>
</ContentView>
</Grid>
</ContentPage>