summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2017-03-15 03:07:48 -0700
committerRui Marinho <me@ruimarinho.net>2017-03-15 10:07:48 +0000
commit295cba6e488da46367149f1687a54f4230019202 (patch)
tree15112c9120e800c9fb95dbb807687eb4c9b42642 /Xamarin.Forms.Platform.WinRT
parentcf213891c9028107cb80105c6bb08cdcf4f8b8ef (diff)
downloadxamarin-forms-295cba6e488da46367149f1687a54f4230019202.tar.gz
xamarin-forms-295cba6e488da46367149f1687a54f4230019202.tar.bz2
xamarin-forms-295cba6e488da46367149f1687a54f4230019202.zip
Bug 53224; Disable Cell if Command IsEnabled false (#812)
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT')
-rw-r--r--Xamarin.Forms.Platform.WinRT/TableViewRenderer.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/TableViewRenderer.cs b/Xamarin.Forms.Platform.WinRT/TableViewRenderer.cs
index 6ae92a7c..7f12daab 100644
--- a/Xamarin.Forms.Platform.WinRT/TableViewRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/TableViewRenderer.cs
@@ -74,7 +74,8 @@ namespace Xamarin.Forms.Platform.WinRT
var cell = item as Cell;
if (cell != null)
{
- Controller.Model.RowSelected(cell);
+ if (cell.IsEnabled)
+ Controller.Model.RowSelected(cell);
break;
}
}