diff --git a/Xamarin.Forms.Core/VisualElement.cs b/Xamarin.Forms.Core/VisualElement.cs index 5a4a67e42..74610cd93 100644 --- a/Xamarin.Forms.Core/VisualElement.cs +++ b/Xamarin.Forms.Core/VisualElement.cs @@ -278,8 +278,7 @@ namespace Xamarin.Forms set { SetValue(StyleProperty, value); } } - - [Obsolete("Use @class")] + [TypeConverter(typeof(ListStringTypeConverter))] public IList StyleClass { get { return @class; } diff --git a/docs/Xamarin.Forms.Core/Xamarin.Forms/VisualElement.xml b/docs/Xamarin.Forms.Core/Xamarin.Forms/VisualElement.xml index b758216d9..461c93394 100644 --- a/docs/Xamarin.Forms.Core/Xamarin.Forms/VisualElement.xml +++ b/docs/Xamarin.Forms.Core/Xamarin.Forms/VisualElement.xml @@ -1819,9 +1819,6 @@ 2.0.0.0 - - System.Obsolete("Use @class") - Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ListStringTypeConverter))