From eae992e51a788a8208f09a50c999ff4cde4779ac Mon Sep 17 00:00:00 2001 From: Stephane Delcroix Date: Wed, 10 May 2017 10:51:23 +0200 Subject: [PATCH] [C] fix BP declaring Types for A11y --- Xamarin.Forms.Core/AutomationProperties.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Xamarin.Forms.Core/AutomationProperties.cs b/Xamarin.Forms.Core/AutomationProperties.cs index 701ae93c981..92f45945026 100644 --- a/Xamarin.Forms.Core/AutomationProperties.cs +++ b/Xamarin.Forms.Core/AutomationProperties.cs @@ -1,15 +1,14 @@ - -namespace Xamarin.Forms +namespace Xamarin.Forms { public class AutomationProperties { - public static readonly BindableProperty HelpTextProperty = BindableProperty.Create("HelpText", typeof(string), typeof(Element), default(string)); + public static readonly BindableProperty HelpTextProperty = BindableProperty.Create("HelpText", typeof(string), typeof(AutomationProperties), default(string)); - public static readonly BindableProperty IsInAccessibleTreeProperty = BindableProperty.Create("IsInAccessibleTree", typeof(bool?), typeof(Element), null); + public static readonly BindableProperty IsInAccessibleTreeProperty = BindableProperty.Create("IsInAccessibleTree", typeof(bool?), typeof(AutomationProperties), null); - public static readonly BindableProperty LabeledByProperty = BindableProperty.Create("LabeledBy", typeof(VisualElement), typeof(Element), default(VisualElement)); + public static readonly BindableProperty LabeledByProperty = BindableProperty.Create("LabeledBy", typeof(VisualElement), typeof(AutomationProperties), default(VisualElement)); - public static readonly BindableProperty NameProperty = BindableProperty.Create("Name", typeof(string), typeof(Element), default(string)); + public static readonly BindableProperty NameProperty = BindableProperty.Create("Name", typeof(string), typeof(AutomationProperties), default(string)); public static string GetHelpText(BindableObject bindable) {