-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainPage.xaml
36 lines (30 loc) · 1.18 KB
/
MainPage.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
29
30
31
32
33
34
35
36
<?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"
x:Class="ListViewBugDemo.MainPage"
xmlns:local="clr-namespace:ListViewBugDemo"
BackgroundColor="Gainsboro">
<Grid Margin="0,0,0,0" >
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- Tab Control -->
<RadioButton
Grid.Row="0"
Content="Show"
IsChecked="{Binding Path=Show_IsChecked}" />
<Button
Grid.Row="1" HorizontalOptions="Start"
Text="Add Row"
Clicked="Button_Clicked"/>
<ListView
Grid.Row="2" BackgroundColor="White"
IsVisible="{Binding Path=Show_IsChecked}"
ItemsSource="{Binding Path=ListView_Items}" />
</Grid>
</ContentPage>