diff options
author | Samantha Houts <samhouts@users.noreply.github.com> | 2017-04-07 00:47:33 -0700 |
---|---|---|
committer | Stephane Delcroix <stephane@delcroix.org> | 2017-04-07 09:47:33 +0200 |
commit | 5f2796e160f99bad31c1b06a2d1f328b5ed02ba3 (patch) | |
tree | 1be94941400ed554767836b588106b3f105cb21b /Xamarin.Forms.Core/ToolbarItem.cs | |
parent | 45a6a80b4c2d9be199f7c61a89bbaa3e5f829564 (diff) | |
download | xamarin-forms-5f2796e160f99bad31c1b06a2d1f328b5ed02ba3.tar.gz xamarin-forms-5f2796e160f99bad31c1b06a2d1f328b5ed02ba3.tar.bz2 xamarin-forms-5f2796e160f99bad31c1b06a2d1f328b5ed02ba3.zip |
[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
Diffstat (limited to 'Xamarin.Forms.Core/ToolbarItem.cs')
-rw-r--r-- | Xamarin.Forms.Core/ToolbarItem.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |