blob: fe48c7304a4a51df33c1166a2beca0c369845cc9 (
plain)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Xamarin.Forms.Xaml.UnitTests.Issue3106">
<ContentPage.Content>
<TableView HasUnevenRows="true">
<TableView.Root>
<TableSection Title="TextCell Disable">
<TextCell Text="txtCellDisable1" Detail="test" IsEnabled="false" />
<TextCell Text="txtCellDisable2" Height="25" IsEnabled="false" />
</TableSection>
<TableSection Title="TextCell Enable">
<TextCell Text="txtCellEnable1" Detail="test" IsEnabled="true" />
<TextCell Text="txtCellEnable2" Height="25" IsEnabled="true" />
</TableSection>
<TableSection Title="TextCell ContextActions Disable">
<TextCell Text="txtCellDisableContextActions1" Detail="test" IsEnabled="false">
<TextCell.ContextActions>
<MenuItem Command="{Binding MoreCommand}" Text="More" />
<MenuItem Command="{Binding DeleteCommand}" Text="Delete" />
</TextCell.ContextActions>
</TextCell>
</TableSection>
<TableSection Title="TextCell ContextActions Enable">
<TextCell Text="txtCellEnabledContextActions1" Detail="test" IsEnabled="true">
<TextCell.ContextActions>
<MenuItem Command="{Binding MoreCommand}" Text="More" />
<MenuItem Command="{Binding DeleteCommand}" Text="Delete" IsDestructive="true" />
</TextCell.ContextActions>
</TextCell>
</TableSection>
</TableView.Root>
</TableView>
</ContentPage.Content>
</ContentPage>
|