summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/NavigationPage.cs
diff options
context:
space:
mode:
authorSamantha Houts <samhouts@users.noreply.github.com>2017-04-07 00:47:33 -0700
committerStephane Delcroix <stephane@delcroix.org>2017-04-07 09:47:33 +0200
commit5f2796e160f99bad31c1b06a2d1f328b5ed02ba3 (patch)
tree1be94941400ed554767836b588106b3f105cb21b /Xamarin.Forms.Core/NavigationPage.cs
parent45a6a80b4c2d9be199f7c61a89bbaa3e5f829564 (diff)
downloadxamarin-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/NavigationPage.cs')
-rw-r--r--Xamarin.Forms.Core/NavigationPage.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Core/NavigationPage.cs b/Xamarin.Forms.Core/NavigationPage.cs
index 7663d1bf..ba88cf57 100644
--- a/Xamarin.Forms.Core/NavigationPage.cs
+++ b/Xamarin.Forms.Core/NavigationPage.cs
@@ -17,8 +17,8 @@ namespace Xamarin.Forms
public static readonly BindableProperty HasBackButtonProperty = BindableProperty.CreateAttached("HasBackButton", typeof(bool), typeof(NavigationPage), true);
- [Obsolete("Use BarBackgroundColorProperty and BarTextColorProperty to change NavigationPage bar color properties")] public static readonly BindableProperty TintProperty =
- BindableProperty.Create("Tint", typeof(Color), typeof(NavigationPage), Color.Default);
+ [Obsolete("TintProperty is obsolete as of version 1.2.0. Please use BarBackgroundColorProperty and BarTextColorProperty to change NavigationPage bar color properties.")]
+ public static readonly BindableProperty TintProperty = BindableProperty.Create("Tint", typeof(Color), typeof(NavigationPage), Color.Default);
public static readonly BindableProperty BarBackgroundColorProperty = BindableProperty.Create("BarBackgroundColor", typeof(Color), typeof(NavigationPage), Color.Default);
@@ -56,7 +56,7 @@ namespace Xamarin.Forms
set { SetValue(BarTextColorProperty, value); }
}
- [Obsolete("Use BarBackgroundColor and BarTextColor to change NavigationPage bar color properties")]
+ [Obsolete("Tint is obsolete as of version 1.2.0. Please use BarBackgroundColor and BarTextColor to change NavigationPage bar color properties.")]
public Color Tint
{
get { return (Color)GetValue(TintProperty); }