summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/DatePickerRenderer.cs
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2017-03-29 02:52:45 -0600
committerRui Marinho <me@ruimarinho.net>2017-03-29 09:52:45 +0100
commite55efa2a8e1164d805bc76b0f3ce84999d2f1bb8 (patch)
tree62ef93abac6215010ca9fe719ee03fc414e88bfe /Xamarin.Forms.Platform.WinRT/DatePickerRenderer.cs
parent90582e977734d40d2023537186ebcf79f826291e (diff)
downloadxamarin-forms-e55efa2a8e1164d805bc76b0f3ce84999d2f1bb8.tar.gz
xamarin-forms-e55efa2a8e1164d805bc76b0f3ce84999d2f1bb8.tar.bz2
xamarin-forms-e55efa2a8e1164d805bc76b0f3ce84999d2f1bb8.zip
Align iOS, Android, Windows handling of tap gesture event bubbling (#842)
* Add test for gesture bubbling behavior on all controls; Make Windows behavior consistent with other platforms; * Fix the stepper test * Make Frame on Android handle tap event bubbling like the other platforms * Formatting changes and query syntax instead of SelectMany
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/DatePickerRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/DatePickerRenderer.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/DatePickerRenderer.cs b/Xamarin.Forms.Platform.WinRT/DatePickerRenderer.cs
index 677563e3..005d30ce 100644
--- a/Xamarin.Forms.Platform.WinRT/DatePickerRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/DatePickerRenderer.cs
@@ -70,6 +70,8 @@ namespace Xamarin.Forms.Platform.WinRT
UpdateTextColor();
}
+ protected override bool PreventGestureBubbling { get; set; } = true;
+
void OnControlDateChanged(object sender, DatePickerValueChangedEventArgs e)
{
Element.Date = e.NewDate.Date;