summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8
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.Platform.WP8
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.Platform.WP8')
-rw-r--r--Xamarin.Forms.Platform.WP8/CellTemplateSelector.cs2
-rw-r--r--Xamarin.Forms.Platform.WP8/RendererFactory.cs2
-rw-r--r--Xamarin.Forms.Platform.WP8/ViewExtensions.cs4
3 files changed, 4 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.WP8/CellTemplateSelector.cs b/Xamarin.Forms.Platform.WP8/CellTemplateSelector.cs
index 42e66fb1..1c9f9dae 100644
--- a/Xamarin.Forms.Platform.WP8/CellTemplateSelector.cs
+++ b/Xamarin.Forms.Platform.WP8/CellTemplateSelector.cs
@@ -19,7 +19,7 @@ namespace Xamarin.Forms.Platform.WinPhone
}
}
- [Obsolete("Deprecated in favor of CellControl")]
+ [Obsolete("CellTemplateSelector is obsolete as of version 1.3.5. Please use CellControl instead.")]
public class CellTemplateSelector : DataTemplateSelector
{
public static readonly DependencyProperty SourceProperty = DependencyProperty.Register("Source", typeof(object), typeof(CellTemplateSelector),
diff --git a/Xamarin.Forms.Platform.WP8/RendererFactory.cs b/Xamarin.Forms.Platform.WP8/RendererFactory.cs
index 33896df3..6a3cccba 100644
--- a/Xamarin.Forms.Platform.WP8/RendererFactory.cs
+++ b/Xamarin.Forms.Platform.WP8/RendererFactory.cs
@@ -4,7 +4,7 @@ namespace Xamarin.Forms.Platform.WinPhone
{
public static class RendererFactory
{
- [Obsolete("Use Platform.CreateRenderer")]
+ [Obsolete("GetRenderer is obsolete as of version 2.0.1. Please use Platform.CreateRenderer instead.")]
public static IVisualElementRenderer GetRenderer(VisualElement view)
{
return Platform.CreateRenderer(view);
diff --git a/Xamarin.Forms.Platform.WP8/ViewExtensions.cs b/Xamarin.Forms.Platform.WP8/ViewExtensions.cs
index 1d46b3b2..dacf2131 100644
--- a/Xamarin.Forms.Platform.WP8/ViewExtensions.cs
+++ b/Xamarin.Forms.Platform.WP8/ViewExtensions.cs
@@ -4,13 +4,13 @@ namespace Xamarin.Forms.Platform.WinPhone
{
public static class ViewExtensions
{
- [Obsolete("Use Platform.GetRenderer")]
+ [Obsolete("GetRenderer is obsolete as of version 2.0.1. Please use Platform.GetRenderer instead.")]
public static IVisualElementRenderer GetRenderer(this VisualElement self)
{
return Platform.GetRenderer(self);
}
- [Obsolete("Use Platform.SetRenderer")]
+ [Obsolete("SetRenderer is obsolete as of version 2.0.1. Please use Platform.SetRenderer instead.")]
public static void SetRenderer(this VisualElement self, IVisualElementRenderer renderer)
{
Platform.SetRenderer(self, renderer);