summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/StepperRenderer.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/StepperRenderer.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/StepperRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/StepperRenderer.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/StepperRenderer.cs b/Xamarin.Forms.Platform.WinRT/StepperRenderer.cs
index 4f09b126..796ef562 100644
--- a/Xamarin.Forms.Platform.WinRT/StepperRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/StepperRenderer.cs
@@ -52,6 +52,8 @@ namespace Xamarin.Forms.Platform.WinRT
Control.ButtonBackgroundColor = Element.BackgroundColor;
}
+ protected override bool PreventGestureBubbling { get; set; } = true;
+
void OnControlValue(object sender, EventArgs e)
{
Element.SetValueCore(Stepper.ValueProperty, Control.Value);