summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2289.xaml
blob: ae2f7943dcebe67156959ceaab02485bbadad914 (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
36
<?xml version="1.0" encoding="UTF-8"?>
<local:TestContentPage xmlns="http://xamarin.com/schemas/2014/forms"
					   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
					   xmlns:local="clr-namespace:Xamarin.Forms.Controls"
					   x:Class="Xamarin.Forms.Controls.Issues.Issue2289">
	<local:TestContentPage.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>
	</local:TestContentPage.Content>
</local:TestContentPage>