From 5f2796e160f99bad31c1b06a2d1f328b5ed02ba3 Mon Sep 17 00:00:00 2001 From: Samantha Houts Date: Fri, 7 Apr 2017 00:47:33 -0700 Subject: [Internal] Normalize Obsolete attributes (#860) * [All] Normalize Obsolete attributes. Make sure we include the version in which the member was deprecated and consistent instructions for working around the deprecation, if applicable. * Update docs --- Xamarin.Forms.Core/ToolbarItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Xamarin.Forms.Core/ToolbarItem.cs') diff --git a/Xamarin.Forms.Core/ToolbarItem.cs b/Xamarin.Forms.Core/ToolbarItem.cs index 0a0a2e05..41cf1447 100644 --- a/Xamarin.Forms.Core/ToolbarItem.cs +++ b/Xamarin.Forms.Core/ToolbarItem.cs @@ -28,7 +28,7 @@ namespace Xamarin.Forms Priority = priority; } - [Obsolete("Now that ToolbarItem is based on MenuItem, .Text has replaced .Name")] + [Obsolete("Name is obsolete as of version 1.3.0. Please use Text instead.")] public string Name { get { return Text; } @@ -47,7 +47,7 @@ namespace Xamarin.Forms set { SetValue(PriorityProperty, value); } } - [Obsolete("Activated has been replaced by the more consistent 'Clicked'")] + [Obsolete("Activated is obsolete as of version 1.3.0. Please use Clicked instead.")] public event EventHandler Activated { add { Clicked += value; } -- cgit v1.2.3