summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/TapGestureRecognizer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/TapGestureRecognizer.cs')
-rw-r--r--Xamarin.Forms.Core/TapGestureRecognizer.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/Xamarin.Forms.Core/TapGestureRecognizer.cs b/Xamarin.Forms.Core/TapGestureRecognizer.cs
index c5216d65..74100967 100644
--- a/Xamarin.Forms.Core/TapGestureRecognizer.cs
+++ b/Xamarin.Forms.Core/TapGestureRecognizer.cs
@@ -57,7 +57,7 @@ namespace Xamarin.Forms
#region obsolete cruft
// call empty constructor to hack around bug in mono where compiler generates invalid IL
- [Obsolete("Obsolete in 1.0.2. Use Command instead")]
+ [Obsolete("TapGestureRecognizer(Action<View, object> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.")]
public TapGestureRecognizer(Action<View, object> tappedCallback) : this()
{
if (tappedCallback == null)
@@ -66,7 +66,7 @@ namespace Xamarin.Forms
}
// call empty constructor to hack around bug in mono where compiler generates invalid IL
- [Obsolete("Obsolete in 1.0.2. Use Command instead")]
+ [Obsolete("TapGestureRecognizer(Action<View> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.")]
public TapGestureRecognizer(Action<View> tappedCallback) : this()
{
if (tappedCallback == null)
@@ -74,20 +74,20 @@ namespace Xamarin.Forms
TappedCallback = (s, o) => tappedCallback(s);
}
- [Obsolete("Obsolete in 1.0.2. Use Command instead")] public static readonly BindableProperty TappedCallbackProperty = BindableProperty.Create("TappedCallback", typeof(Action<View, object>),
- typeof(TapGestureRecognizer), null);
+ [Obsolete("TappedCallbackProperty is obsolete as of version 1.0.2. Please use Command instead.")]
+ public static readonly BindableProperty TappedCallbackProperty = BindableProperty.Create("TappedCallback", typeof(Action<View, object>), typeof(TapGestureRecognizer), null);
- [Obsolete("Obsolete in 1.0.2. Use Command instead")]
+ [Obsolete("TappedCallback is obsolete as of version 1.0.2. Please use Command instead.")]
public Action<View, object> TappedCallback
{
get { return (Action<View, object>)GetValue(TappedCallbackProperty); }
set { SetValue(TappedCallbackProperty, value); }
}
- [Obsolete("Obsolete in 1.0.2. Use Command instead")] public static readonly BindableProperty TappedCallbackParameterProperty = BindableProperty.Create("TappedCallbackParameter", typeof(object),
- typeof(TapGestureRecognizer), null);
+ [Obsolete("TappedCallbackParameterProperty is obsolete as of version 1.0.2. Please use Command instead.")]
+ public static readonly BindableProperty TappedCallbackParameterProperty = BindableProperty.Create("TappedCallbackParameter", typeof(object), typeof(TapGestureRecognizer), null);
- [Obsolete("Obsolete in 1.0.2. Use Command instead")]
+ [Obsolete("TappedCallbackParameter is obsolete as of version 1.0.2. Please use Command instead.")]
public object TappedCallbackParameter
{
get { return GetValue(TappedCallbackParameterProperty); }