diff options
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2289.xaml')
-rw-r--r-- | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2289.xaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2289.xaml b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2289.xaml new file mode 100644 index 00000000..c4d45742 --- /dev/null +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2289.xaml @@ -0,0 +1,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.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>
\ No newline at end of file |