summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorSamantha Houts <samhouts@users.noreply.github.com>2017-05-10 10:20:57 -0700
committerRui Marinho <me@ruimarinho.net>2017-05-10 18:23:00 +0100
commitab1f669f9f87bc0c9823929e6497bc3b1a4018d6 (patch)
tree5cdb6d84147912651727dd4fd27073acb68ef117 /Xamarin.Forms.Core
parent5a472237b3b3f92cdaf5992a68a0afa0d49f4149 (diff)
downloadxamarin-forms-ab1f669f9f87bc0c9823929e6497bc3b1a4018d6.tar.gz
xamarin-forms-ab1f669f9f87bc0c9823929e6497bc3b1a4018d6.tar.bz2
xamarin-forms-ab1f669f9f87bc0c9823929e6497bc3b1a4018d6.zip
[All] Rename Accessibility -> AutomationProperties (#912)
* [All] Renamed Accessibility -> AutomationProperties * Update docs * Restore doc summaries * Revert unintended csproj changes
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/AutomationProperties.cs (renamed from Xamarin.Forms.Core/Accessibility.cs)12
-rw-r--r--Xamarin.Forms.Core/Xamarin.Forms.Core.csproj2
2 files changed, 7 insertions, 7 deletions
diff --git a/Xamarin.Forms.Core/Accessibility.cs b/Xamarin.Forms.Core/AutomationProperties.cs
index 074d5c59..701ae93c 100644
--- a/Xamarin.Forms.Core/Accessibility.cs
+++ b/Xamarin.Forms.Core/AutomationProperties.cs
@@ -1,9 +1,9 @@

namespace Xamarin.Forms
{
- public class Accessibility
+ public class AutomationProperties
{
- public static readonly BindableProperty HintProperty = BindableProperty.Create("Hint", typeof(string), typeof(Element), default(string));
+ public static readonly BindableProperty HelpTextProperty = BindableProperty.Create("HelpText", typeof(string), typeof(Element), default(string));
public static readonly BindableProperty IsInAccessibleTreeProperty = BindableProperty.Create("IsInAccessibleTree", typeof(bool?), typeof(Element), null);
@@ -11,9 +11,9 @@ namespace Xamarin.Forms
public static readonly BindableProperty NameProperty = BindableProperty.Create("Name", typeof(string), typeof(Element), default(string));
- public static string GetHint(BindableObject bindable)
+ public static string GetHelpText(BindableObject bindable)
{
- return (string)bindable.GetValue(HintProperty);
+ return (string)bindable.GetValue(HelpTextProperty);
}
public static bool? GetIsInAccessibleTree(BindableObject bindable)
@@ -31,9 +31,9 @@ namespace Xamarin.Forms
return (string)bindable.GetValue(NameProperty);
}
- public static void SetHint(BindableObject bindable, string value)
+ public static void SetHelpText(BindableObject bindable, string value)
{
- bindable.SetValue(HintProperty, value);
+ bindable.SetValue(HelpTextProperty, value);
}
public static void SetIsInAccessibleTree(BindableObject bindable, bool? value)
diff --git a/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj b/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj
index 385ab4c7..f18b0184 100644
--- a/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj
+++ b/Xamarin.Forms.Core/Xamarin.Forms.Core.csproj
@@ -50,7 +50,7 @@
</PropertyGroup>
<ItemGroup>
<Compile Include="AbsoluteLayoutFlags.cs" />
- <Compile Include="Accessibility.cs" />
+ <Compile Include="AutomationProperties.cs" />
<Compile Include="ActionSheetArguments.cs" />
<Compile Include="AlertArguments.cs" />
<Compile Include="AnimatableKey.cs" />