Placeholder = "Username"
};
- username.SetValue(Accessibility.LabeledByProperty, instructions1);
+ username.SetValue(AutomationProperties.LabeledByProperty, instructions1);
var password = new Entry
{
IsPassword = true
};
- password.SetValue(Accessibility.LabeledByProperty, instructions2);
+ password.SetValue(AutomationProperties.LabeledByProperty, instructions2);
var button = new Button { Text = "Submit", IsEnabled = false };
namespace Xamarin.Forms.Controls
{
- public class AccessibilityGallery : ContentPage
+ public class AutomationPropertiesGallery : ContentPage
{
- public AccessibilityGallery()
+ public AutomationPropertiesGallery()
{
// https://developer.xamarin.com/guides/android/advanced_topics/accessibility/
// https://developer.xamarin.com/guides/ios/advanced_topics/accessibility/
// https://msdn.microsoft.com/en-us/windows/uwp/accessibility/basic-accessibility-information
const string EntryPlaceholder = "Your name.";
- const string EntryHint = "Type your name.";
+ const string EntryHelpText = "Type your name.";
const string ImageName = "Roof";
- const string ImageHint = "Tap to show an alert.";
- const string BoxHint = "Shows a purple box.";
+ const string ImageHelpText = "Tap to show an alert.";
+ const string BoxHelpText = "Shows a purple box.";
const string BoxName = "Box";
string screenReader = "";
scrollFingers = "three fingers";
explore = "Use two fingers to swipe up or down the screen to read all of the elements on this page.";
labeledByInstructions = $"The following Entry should read aloud \"{EntryPlaceholder}.\", plus native instructions on how to use an Entry element. This text comes from the placeholder.";
- imageInstructions = $"The following Image should read aloud \"{ImageName}. {ImageHint}\". You should be able to tap the image and hear an alert box.";
- boxInstructions = $"The following Box should read aloud \"{BoxName}. {BoxHint}\". You should be able to tap the box and hear an alert box.";
+ imageInstructions = $"The following Image should read aloud \"{ImageName}. {ImageHelpText}\". You should be able to tap the image and hear an alert box.";
+ boxInstructions = $"The following Box should read aloud \"{BoxName}. {BoxHelpText}\". You should be able to tap the box and hear an alert box.";
break;
case Device.Android:
screenReader = "TalkBack";
scrollFingers = "two fingers";
explore = "Drag one finger across the screen to read each element on the page.";
- labeledByInstructions = $"The following Entry should read aloud \"EditBox {EntryPlaceholder} for {EntryHint}.\", plus native instructions on how to use an Entry element. This text comes from the Entry placeholder and text of the Label.";
- imageInstructions = $"The following Image should read aloud \"{ImageName}. {ImageHint}\". You should be able to tap the image and hear an alert box.";
- boxInstructions = $"The following Box should read aloud \"{BoxName}. {BoxHint}\". You should be able to tap the box and hear an alert box.";
+ labeledByInstructions = $"The following Entry should read aloud \"EditBox {EntryPlaceholder} for {EntryHelpText}.\", plus native instructions on how to use an Entry element. This text comes from the Entry placeholder and text of the Label.";
+ imageInstructions = $"The following Image should read aloud \"{ImageName}. {ImageHelpText}\". You should be able to tap the image and hear an alert box.";
+ boxInstructions = $"The following Box should read aloud \"{BoxName}. {BoxHelpText}\". You should be able to tap the box and hear an alert box.";
break;
case Device.WinRT:
case Device.UWP:
screenReader = "Narrator";
scrollFingers = "two fingers";
explore = "Use three fingers to swipe up the screen to read all of the elements on this page.";
- labeledByInstructions = $"The following Entry should read aloud \"{EntryHint}\", plus native instructions on how to use an Entry element. This text comes from the text of the label.";
- imageInstructions = $"The following Image should read aloud \"{ImageName}. {ImageHint}\". Windows does not currently support TapGestures while the Narrator is active.";
- boxInstructions = $"The following Box should read aloud \"{BoxName}. {BoxHint}\". Windows does not currently support TapGestures while the Narrator is active.";
+ labeledByInstructions = $"The following Entry should read aloud \"{EntryHelpText}\", plus native instructions on how to use an Entry element. This text comes from the text of the label.";
+ imageInstructions = $"The following Image should read aloud \"{ImageName}. {ImageHelpText}\". Windows does not currently support TapGestures while the Narrator is active.";
+ boxInstructions = $"The following Box should read aloud \"{BoxName}. {BoxHelpText}\". Windows does not currently support TapGestures while the Narrator is active.";
break;
default:
screenReader = "the native screen reader";
break;
}
- var instructions = new Label { Text = $"Please enable {screenReader}. {explore} Use {scrollFingers} to scroll the view. Tap an element once to hear the name and description and native instructions. Double tap anywhere on the screen to activate the selected element. Swipe left or right with one finger to switch to the previous or next element." };
+ var instructions = new Label { Text = $"Please enable {screenReader}. {explore} Use {scrollFingers} to scroll the view. Tap an element once to hear the name and HelpText and native instructions. Double tap anywhere on the screen to activate the selected element. Swipe left or right with one finger to switch to the previous or next element." };
var instructions2 = new Label { Text = labeledByInstructions };
- var entryLabel = new Label { Text = EntryHint, VerticalOptions = LayoutOptions.Center };
+ var entryLabel = new Label { Text = EntryHelpText, VerticalOptions = LayoutOptions.Center };
var entry = new Entry { Placeholder = EntryPlaceholder };
- entry.SetAccessibilityLabeledBy(entryLabel);
+ entry.SetAutomationPropertiesLabeledBy(entryLabel);
var entryGroup = new Grid();
entryGroup.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Auto) });
var activityIndicator = new ActivityIndicator();
- activityIndicator.SetAccessibilityName("Progress indicator");
+ activityIndicator.SetAutomationPropertiesName("Progress indicator");
const string ButtonText = "Update progress";
- const string ButtonHint = "Tap to start/stop the activity indicator.";
+ const string ButtonHelpText = "Tap to start/stop the activity indicator.";
var instructions3 = new Label { Text = $"The following Button should read aloud \"{ButtonText}.\", plus native instructions on how to use a button." };
var button = new Button { Text = ButtonText };
- button.SetAccessibilityHint(ButtonHint);
+ button.SetAutomationPropertiesHelpText(ButtonHelpText);
button.Clicked += (sender, e) =>
{
activityIndicator.IsRunning = !activityIndicator.IsRunning;
- activityIndicator.SetAccessibilityHint(activityIndicator.IsRunning ? "Running." : "Not running");
+ activityIndicator.SetAutomationPropertiesHelpText(activityIndicator.IsRunning ? "Running." : "Not running");
};
var image = new Image { Source = "photo.jpg" };
// The tap gesture will NOT work on Win
image.GestureRecognizers.Add(new TapGestureRecognizer { Command = new Command(() => DisplayAlert("Success", "You tapped the image", "OK")) });
- image.SetAccessibilityName(ImageName);
- image.SetAccessibilityHint(ImageHint);
+ image.SetAutomationPropertiesName(ImageName);
+ image.SetAutomationPropertiesHelpText(ImageHelpText);
// Images are ignored by default on iOS (at least, Forms Images are);
// make accessible in order to enable the gesture and narration
- image.SetIsInAccessibleTree(true);
+ image.SetAutomationPropertiesIsInAccessibleTree(true);
var instructions6 = new Label { Text = boxInstructions };
var boxView = new BoxView { Color = Color.Purple };
// The tap gesture will NOT work on Win
boxView.GestureRecognizers.Add(new TapGestureRecognizer { Command = new Command(() => DisplayAlert("Success", "You tapped the box", "OK")) });
- boxView.SetAccessibilityName(BoxName);
- boxView.SetAccessibilityHint(BoxHint);
+ boxView.SetAutomationPropertiesName(BoxName);
+ boxView.SetAutomationPropertiesHelpText(BoxHelpText);
// BoxViews are ignored by default on iOS and Win;
// make accessible in order to enable the gesture and narration
- boxView.SetIsInAccessibleTree(true);
+ boxView.SetAutomationPropertiesIsInAccessibleTree(true);
var stack = new StackLayout
}
}
- public static class AccessibilityExtensions
+ public static class AutomationPropertiesExtensions
{
- public static void SetAccessibilityName(this VisualElement element, string name)
+ public static void SetAutomationPropertiesName(this VisualElement element, string name)
{
- element.SetValue(Accessibility.NameProperty, name);
+ element.SetValue(AutomationProperties.NameProperty, name);
}
- public static string GetAccessibilityName(this VisualElement element)
+ public static string GetAutomationPropertiesName(this VisualElement element)
{
- return (string)element.GetValue(Accessibility.NameProperty);
+ return (string)element.GetValue(AutomationProperties.NameProperty);
}
- public static void SetAccessibilityHint(this VisualElement element, string hint)
+ public static void SetAutomationPropertiesHelpText(this VisualElement element, string HelpText)
{
- element.SetValue(Accessibility.HintProperty, hint);
+ element.SetValue(AutomationProperties.HelpTextProperty, HelpText);
}
- public static string GetAccessibilityHint(this VisualElement element)
+ public static string GetAutomationPropertiesHelpText(this VisualElement element)
{
- return (string)element.GetValue(Accessibility.HintProperty);
+ return (string)element.GetValue(AutomationProperties.HelpTextProperty);
}
- public static void SetIsInAccessibleTree(this VisualElement element, bool value)
+ public static void SetAutomationPropertiesIsInAccessibleTree(this VisualElement element, bool value)
{
- element.SetValue(Accessibility.IsInAccessibleTreeProperty, value);
+ element.SetValue(AutomationProperties.IsInAccessibleTreeProperty, value);
}
- public static bool GetIsInAccessibleTree(this VisualElement element)
+ public static bool GetAutomationPropertiesIsInAccessibleTree(this VisualElement element)
{
- return (bool)element.GetValue(Accessibility.IsInAccessibleTreeProperty);
+ return (bool)element.GetValue(AutomationProperties.IsInAccessibleTreeProperty);
}
- public static void SetAccessibilityLabeledBy(this VisualElement element, Element value)
+ public static void SetAutomationPropertiesLabeledBy(this VisualElement element, Element value)
{
- element.SetValue(Accessibility.LabeledByProperty, value);
+ element.SetValue(AutomationProperties.LabeledByProperty, value);
}
- public static Element GetAccessibilityLabeledBy(this VisualElement element)
+ public static Element GetAutomationPropertiesLabeledBy(this VisualElement element)
{
- return (Element)element.GetValue(Accessibility.LabeledByProperty);
+ return (Element)element.GetValue(AutomationProperties.LabeledByProperty);
}
}
}
}
};
#endif
- SetValue(Accessibility.NameProperty, "SwapRoot");
+ SetValue(AutomationProperties.NameProperty, "SwapRoot");
}
}
}
List<GalleryPageFactory> _pages = new List<GalleryPageFactory> {
- new GalleryPageFactory(() => new AccessibilityGallery(), "Accessibility"),
+ new GalleryPageFactory(() => new AutomationPropertiesGallery(), "Accessibility"),
new GalleryPageFactory(() => new PlatformSpecificsGallery(), "Platform Specifics"),
new GalleryPageFactory(() => new NativeBindingGalleryPage(), "Native Binding Controls Gallery"),
new GalleryPageFactory(() => new XamlNativeViews(), "Xaml Native Views Gallery"),
SelectedItem = null;
};
- SetValue(Accessibility.NameProperty, "Core Pages");
+ SetValue(AutomationProperties.NameProperty, "Core Pages");
}
NavigationBehavior navigationBehavior;
<Compile Include="App.cs" />
<Compile Include="AppLifeCycle.cs" />
<Compile Include="Bugzilla44596SplashPage.cs" />
- <Compile Include="ControlGalleryPages\AccessibilityGallery.cs" />
+ <Compile Include="ControlGalleryPages\AutomationPropertiesGallery.cs" />
<Compile Include="ControlGalleryPages\CellForceUpdateSizeGalleryPage.cs" />
<Compile Include="ControlGalleryPages\LayoutAddPerformance.xaml.cs">
<DependentUpon>LayoutAddPerformance.xaml</DependentUpon>
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);
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)
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)
</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" />
namespace Xamarin.Forms.Platform.Android.FastRenderers
{
- internal class AccessibilityProvider : IDisposable
+ internal class AutomationPropertiesProvider : IDisposable
{
const string GetFromElement = "GetValueFromElement";
string _defaultContentDescription;
IVisualElementRenderer _renderer;
- public AccessibilityProvider(IVisualElementRenderer renderer)
+ public AutomationPropertiesProvider(IVisualElementRenderer renderer)
{
_renderer = renderer;
_renderer.ElementPropertyChanged += OnElementPropertyChanged;
string value = contentDescription;
if (value == GetFromElement)
{
- value = string.Join(" ", (string)Element.GetValue(Accessibility.NameProperty),
- (string)Element.GetValue(Accessibility.HintProperty));
+ value = string.Join(" ", (string)Element.GetValue(AutomationProperties.NameProperty),
+ (string)Element.GetValue(AutomationProperties.HelpTextProperty));
}
if (!string.IsNullOrWhiteSpace(value))
}
Control.Focusable =
- (bool)(value ?? (bool?)Element.GetValue(Accessibility.IsInAccessibleTreeProperty) ?? _defaultFocusable);
+ (bool)(value ?? (bool?)Element.GetValue(AutomationProperties.IsInAccessibleTreeProperty) ?? _defaultFocusable);
}
bool SetHint(string hint = GetFromElement)
string value = hint;
if (value == GetFromElement)
{
- value = string.Join(". ", (string)Element.GetValue(Accessibility.NameProperty),
- (string)Element.GetValue(Accessibility.HintProperty));
+ value = string.Join(". ", (string)Element.GetValue(AutomationProperties.NameProperty),
+ (string)Element.GetValue(AutomationProperties.HelpTextProperty));
}
textView.Hint = !string.IsNullOrWhiteSpace(value) ? value : _defaultHint;
if (Element == null || Control == null)
return;
- var elemValue = (VisualElement)Element.GetValue(Accessibility.LabeledByProperty);
+ var elemValue = (VisualElement)Element.GetValue(AutomationProperties.LabeledByProperty);
if (elemValue != null)
{
void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
{
- if (e.PropertyName == Accessibility.HintProperty.PropertyName)
+ if (e.PropertyName == AutomationProperties.HelpTextProperty.PropertyName)
{
SetContentDescription();
}
- else if (e.PropertyName == Accessibility.NameProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.NameProperty.PropertyName)
{
SetContentDescription();
}
- else if (e.PropertyName == Accessibility.IsInAccessibleTreeProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.IsInAccessibleTreeProperty.PropertyName)
{
SetFocusable();
}
- else if (e.PropertyName == Accessibility.LabeledByProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.LabeledByProperty.PropertyName)
{
SetLabeledBy();
}
bool _isDisposed;
bool _inputTransparent;
readonly Lazy<TextColorSwitcher> _textColorSwitcher;
- readonly AccessibilityProvider _accessibilityProvider;
+ readonly AutomationPropertiesProvider _automationPropertiesProvider;
readonly EffectControlProvider _effectControlProvider;
VisualElementTracker _tracker;
public ButtonRenderer() : base(Forms.Context)
{
- _accessibilityProvider = new AccessibilityProvider(this);
+ _automationPropertiesProvider = new AutomationPropertiesProvider(this);
_effectControlProvider = new EffectControlProvider(this);
_textColorSwitcher = new Lazy<TextColorSwitcher>(() => new TextColorSwitcher(TextColors));
SetOnTouchListener(null);
RemoveOnAttachStateChangeListener(this);
- _accessibilityProvider?.Dispose();
+ _automationPropertiesProvider?.Dispose();
_tracker?.Dispose();
if (Element != null)
IVisualElementRenderer _renderer;
readonly GestureManager _gestureManager;
- readonly AccessibilityProvider _accessibilityProvider;
+ readonly AutomationPropertiesProvider _automatiomPropertiesProvider;
readonly EffectControlProvider _effectControlProvider;
public VisualElementRenderer(IVisualElementRenderer renderer)
_renderer.ElementPropertyChanged += OnElementPropertyChanged;
_renderer.ElementChanged += OnElementChanged;
_gestureManager = new GestureManager(_renderer);
- _accessibilityProvider = new AccessibilityProvider(_renderer);
+ _automatiomPropertiesProvider = new AutomationPropertiesProvider(_renderer);
_effectControlProvider = new EffectControlProvider(_renderer?.View);
}
if (disposing)
{
_gestureManager?.Dispose();
- _accessibilityProvider?.Dispose();
+ _automatiomPropertiesProvider?.Dispose();
if (_renderer != null)
{
if (e.PropertyName == VisualElement.IsEnabledProperty.PropertyName)
UpdateIsEnabled();
- else if (e.PropertyName == Accessibility.LabeledByProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.LabeledByProperty.PropertyName)
SetLabeledBy();
}
if (_defaultContentDescription == null)
_defaultContentDescription = Control.ContentDescription;
- var elemValue = string.Join(" ", (string)Element.GetValue(Accessibility.NameProperty), (string)Element.GetValue(Accessibility.HintProperty));
+ var elemValue = string.Join(" ", (string)Element.GetValue(AutomationProperties.NameProperty), (string)Element.GetValue(AutomationProperties.HelpTextProperty));
if (!string.IsNullOrWhiteSpace(elemValue))
Control.ContentDescription = elemValue;
if (!_defaultFocusable.HasValue)
_defaultFocusable = Control.Focusable;
- Control.Focusable = (bool)((bool?)Element.GetValue(Accessibility.IsInAccessibleTreeProperty) ?? _defaultFocusable);
+ Control.Focusable = (bool)((bool?)Element.GetValue(AutomationProperties.IsInAccessibleTreeProperty) ?? _defaultFocusable);
}
protected override bool SetHint()
if (_defaultHint == null)
_defaultHint = textView.Hint;
- var elemValue = string.Join((String.IsNullOrWhiteSpace((string)(Element.GetValue(Accessibility.NameProperty))) || String.IsNullOrWhiteSpace((string)(Element.GetValue(Accessibility.HintProperty)))) ? "" : ". ", (string)Element.GetValue(Accessibility.NameProperty), (string)Element.GetValue(Accessibility.HintProperty));
+ var elemValue = string.Join((String.IsNullOrWhiteSpace((string)(Element.GetValue(AutomationProperties.NameProperty))) || String.IsNullOrWhiteSpace((string)(Element.GetValue(AutomationProperties.HelpTextProperty)))) ? "" : ". ", (string)Element.GetValue(AutomationProperties.NameProperty), (string)Element.GetValue(AutomationProperties.HelpTextProperty));
if (!string.IsNullOrWhiteSpace(elemValue))
textView.Hint = elemValue;
if (Element == null || Control == null)
return;
- var elemValue = (VisualElement)Element.GetValue(Accessibility.LabeledByProperty);
+ var elemValue = (VisualElement)Element.GetValue(AutomationProperties.LabeledByProperty);
if (elemValue != null)
{
{
if (e.PropertyName == VisualElement.BackgroundColorProperty.PropertyName)
UpdateBackgroundColor();
- else if (e.PropertyName == Accessibility.HintProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.HelpTextProperty.PropertyName)
SetContentDescription();
- else if (e.PropertyName == Accessibility.NameProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.NameProperty.PropertyName)
SetContentDescription();
- else if (e.PropertyName == Accessibility.IsInAccessibleTreeProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.IsInAccessibleTreeProperty.PropertyName)
SetFocusable();
else if (e.PropertyName == VisualElement.InputTransparentProperty.PropertyName)
UpdateInputTransparent();
if (_defaultContentDescription == null)
_defaultContentDescription = ContentDescription;
- var elemValue = string.Join(" ", (string)Element.GetValue(Accessibility.NameProperty), (string)Element.GetValue(Accessibility.HintProperty));
+ var elemValue = string.Join(" ", (string)Element.GetValue(AutomationProperties.NameProperty), (string)Element.GetValue(AutomationProperties.HelpTextProperty));
if (!string.IsNullOrWhiteSpace(elemValue))
ContentDescription = elemValue;
if (!_defaultFocusable.HasValue)
_defaultFocusable = Focusable;
- Focusable = (bool)((bool?)Element.GetValue(Accessibility.IsInAccessibleTreeProperty) ?? _defaultFocusable);
+ Focusable = (bool)((bool?)Element.GetValue(AutomationProperties.IsInAccessibleTreeProperty) ?? _defaultFocusable);
}
protected virtual bool SetHint()
if (_defaultHint == null)
_defaultHint = textView.Hint;
- var elemValue = string.Join((String.IsNullOrWhiteSpace((string)(Element.GetValue(Accessibility.NameProperty))) || String.IsNullOrWhiteSpace((string)(Element.GetValue(Accessibility.HintProperty)))) ? "" : ". ", (string)Element.GetValue(Accessibility.NameProperty), (string)Element.GetValue(Accessibility.HintProperty));
+ var elemValue = string.Join((String.IsNullOrWhiteSpace((string)(Element.GetValue(AutomationProperties.NameProperty))) || String.IsNullOrWhiteSpace((string)(Element.GetValue(AutomationProperties.HelpTextProperty)))) ? "" : ". ", (string)Element.GetValue(AutomationProperties.NameProperty), (string)Element.GetValue(AutomationProperties.HelpTextProperty));
if (!string.IsNullOrWhiteSpace(elemValue))
textView.Hint = elemValue;
<Compile Include="AndroidTitleBarVisibility.cs" />
<Compile Include="AppCompat\FrameRenderer.cs" />
<Compile Include="Extensions\JavaObjectExtensions.cs" />
- <Compile Include="FastRenderers\AccessibilityProvider.cs" />
+ <Compile Include="FastRenderers\AutomationPropertiesProvider.cs" />
<Compile Include="FastRenderers\ButtonRenderer.cs" />
<Compile Include="AppCompat\FormsViewPager.cs" />
<Compile Include="AppCompat\FragmentContainer.cs" />
UpdateIsPresented();
if (!string.IsNullOrEmpty(e.NewElement.AutomationId))
- Control.SetValue(AutomationProperties.AutomationIdProperty, e.NewElement.AutomationId);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, e.NewElement.AutomationId);
((ITitleProvider)this).BarBackgroundBrush = (Brush)Windows.UI.Xaml.Application.Current.Resources["SystemControlBackgroundChromeMediumLowBrush"];
UpdateToolbarPlacement();
element.PropertyChanged += OnElementPropertyChanged;
if (!string.IsNullOrEmpty(element.AutomationId))
- Control.SetValue(AutomationProperties.AutomationIdProperty, element.AutomationId);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, element.AutomationId);
}
OnElementChanged(new VisualElementChangedEventArgs(oldElement, element));
element.PropertyChanged += OnElementPropertyChanged;
if (!string.IsNullOrEmpty(element.AutomationId))
- Control.SetValue(AutomationProperties.AutomationIdProperty, element.AutomationId);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, element.AutomationId);
}
OnElementChanged(new VisualElementChangedEventArgs(oldElement, element));
OnElementChanged(new ElementChangedEventArgs<CarouselPage>(oldPage, newPage));
if (!string.IsNullOrEmpty(Element?.AutomationId))
- SetValue(AutomationProperties.AutomationIdProperty, Element.AutomationId);
+ SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, Element.AutomationId);
}
protected virtual void Dispose(bool disposing)
Element.InternalChildren.CollectionChanged += OnChildrenChanged;
if (!string.IsNullOrEmpty(Element.AutomationId))
- _container.SetValue(AutomationProperties.AutomationIdProperty, Element.AutomationId);
+ _container.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, Element.AutomationId);
PushExistingNavigationStack();
}
}
else
{
- SetValue(AutomationProperties.AutomationIdProperty, $"{id}_Container");
- Control.SetValue(AutomationProperties.AutomationIdProperty, id);
+ SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, $"{id}_Container");
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, id);
}
}
protected override void SetAutomationPropertiesName()
return;
if (_defaultAutomationPropertiesName == null)
- _defaultAutomationPropertiesName = (string)Control.GetValue(AutomationProperties.NameProperty);
+ _defaultAutomationPropertiesName = (string)Control.GetValue(Windows.UI.Xaml.Automation.AutomationProperties.NameProperty);
- var elemValue = (string)Element.GetValue(Accessibility.NameProperty);
+ var elemValue = (string)Element.GetValue(AutomationProperties.NameProperty);
if (!string.IsNullOrWhiteSpace(elemValue))
- Control.SetValue(AutomationProperties.NameProperty, elemValue);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.NameProperty, elemValue);
else
- Control.SetValue(AutomationProperties.NameProperty, _defaultAutomationPropertiesName);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.NameProperty, _defaultAutomationPropertiesName);
}
protected override void SetAutomationPropertiesAccessibilityView()
return;
if (!_defaultAutomationPropertiesAccessibilityView.HasValue)
- _defaultAutomationPropertiesAccessibilityView = (AccessibilityView)Control.GetValue(AutomationProperties.AccessibilityViewProperty);
+ _defaultAutomationPropertiesAccessibilityView = (AccessibilityView)Control.GetValue(Windows.UI.Xaml.Automation.AutomationProperties.AccessibilityViewProperty);
var newValue = _defaultAutomationPropertiesAccessibilityView;
- var elemValue = (bool?)Element.GetValue(Accessibility.IsInAccessibleTreeProperty);
+ var elemValue = (bool?)Element.GetValue(AutomationProperties.IsInAccessibleTreeProperty);
if (elemValue == true)
newValue = AccessibilityView.Content;
else if (elemValue == false)
newValue = AccessibilityView.Raw;
- Control.SetValue(AutomationProperties.AccessibilityViewProperty, newValue);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AccessibilityViewProperty, newValue);
}
protected override void SetAutomationPropertiesHelpText()
return;
if (_defaultAutomationPropertiesHelpText == null)
- _defaultAutomationPropertiesHelpText = (string)Control.GetValue(AutomationProperties.HelpTextProperty);
+ _defaultAutomationPropertiesHelpText = (string)Control.GetValue(Windows.UI.Xaml.Automation.AutomationProperties.HelpTextProperty);
- var elemValue = (string)Element.GetValue(Accessibility.HintProperty);
+ var elemValue = (string)Element.GetValue(AutomationProperties.HelpTextProperty);
if (!string.IsNullOrWhiteSpace(elemValue))
- Control.SetValue(AutomationProperties.HelpTextProperty, elemValue);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.HelpTextProperty, elemValue);
else
- Control.SetValue(AutomationProperties.HelpTextProperty, _defaultAutomationPropertiesHelpText);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.HelpTextProperty, _defaultAutomationPropertiesHelpText);
}
protected override void SetAutomationPropertiesLabeledBy()
return;
if (_defaultAutomationPropertiesLabeledBy == null)
- _defaultAutomationPropertiesLabeledBy = (UIElement)Control.GetValue(AutomationProperties.LabeledByProperty);
+ _defaultAutomationPropertiesLabeledBy = (UIElement)Control.GetValue(Windows.UI.Xaml.Automation.AutomationProperties.LabeledByProperty);
- var elemValue = (VisualElement)Element.GetValue(Accessibility.LabeledByProperty);
+ var elemValue = (VisualElement)Element.GetValue(AutomationProperties.LabeledByProperty);
var renderer = elemValue?.GetOrCreateRenderer();
var nativeElement = renderer?.GetNativeElement();
if (nativeElement != null)
- Control.SetValue(AutomationProperties.LabeledByProperty, nativeElement);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.LabeledByProperty, nativeElement);
else
- Control.SetValue(AutomationProperties.LabeledByProperty, _defaultAutomationPropertiesLabeledBy);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.LabeledByProperty, _defaultAutomationPropertiesLabeledBy);
}
}
}
\ No newline at end of file
UpdateEnabled();
else if (e.PropertyName == VisualElement.BackgroundColorProperty.PropertyName)
UpdateBackgroundColor();
- else if (e.PropertyName == Accessibility.HintProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.HelpTextProperty.PropertyName)
SetAutomationPropertiesHelpText();
- else if (e.PropertyName == Accessibility.NameProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.NameProperty.PropertyName)
SetAutomationPropertiesName();
- else if (e.PropertyName == Accessibility.IsInAccessibleTreeProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.IsInAccessibleTreeProperty.PropertyName)
SetAutomationPropertiesAccessibilityView();
- else if (e.PropertyName == Accessibility.LabeledByProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.LabeledByProperty.PropertyName)
SetAutomationPropertiesLabeledBy();
}
protected virtual void SetAutomationId(string id)
{
- SetValue(AutomationProperties.AutomationIdProperty, id);
+ SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AutomationIdProperty, id);
}
protected virtual void SetAutomationPropertiesName()
return;
if (_defaultAutomationPropertiesName == null)
- _defaultAutomationPropertiesName = (string)Control.GetValue(AutomationProperties.NameProperty);
+ _defaultAutomationPropertiesName = (string)Control.GetValue(Windows.UI.Xaml.Automation.AutomationProperties.NameProperty);
- var elemValue = (string)Element.GetValue(Accessibility.NameProperty);
+ var elemValue = (string)Element.GetValue(AutomationProperties.NameProperty);
if (!string.IsNullOrWhiteSpace(elemValue))
- Control.SetValue(AutomationProperties.NameProperty, elemValue);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.NameProperty, elemValue);
else
- Control.SetValue(AutomationProperties.NameProperty, _defaultAutomationPropertiesName);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.NameProperty, _defaultAutomationPropertiesName);
}
protected virtual void SetAutomationPropertiesAccessibilityView()
return;
if (!_defaultAutomationPropertiesAccessibilityView.HasValue)
- _defaultAutomationPropertiesAccessibilityView = (AccessibilityView)Control.GetValue(AutomationProperties.AccessibilityViewProperty);
+ _defaultAutomationPropertiesAccessibilityView = (AccessibilityView)Control.GetValue(Windows.UI.Xaml.Automation.AutomationProperties.AccessibilityViewProperty);
var newValue = _defaultAutomationPropertiesAccessibilityView;
- var elemValue = (bool?)Element.GetValue(Accessibility.IsInAccessibleTreeProperty);
+ var elemValue = (bool?)Element.GetValue(AutomationProperties.IsInAccessibleTreeProperty);
if (elemValue == true)
newValue = AccessibilityView.Content;
else if (elemValue == false)
newValue = AccessibilityView.Raw;
- Control.SetValue(AutomationProperties.AccessibilityViewProperty, newValue);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.AccessibilityViewProperty, newValue);
}
protected virtual void SetAutomationPropertiesHelpText()
return;
if (_defaultAutomationPropertiesHelpText == null)
- _defaultAutomationPropertiesHelpText = (string)Control.GetValue(AutomationProperties.HelpTextProperty);
+ _defaultAutomationPropertiesHelpText = (string)Control.GetValue(Windows.UI.Xaml.Automation.AutomationProperties.HelpTextProperty);
- var elemValue = (string)Element.GetValue(Accessibility.HintProperty);
+ var elemValue = (string)Element.GetValue(AutomationProperties.HelpTextProperty);
if (!string.IsNullOrWhiteSpace(elemValue))
- Control.SetValue(AutomationProperties.HelpTextProperty, elemValue);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.HelpTextProperty, elemValue);
else
- Control.SetValue(AutomationProperties.HelpTextProperty, _defaultAutomationPropertiesHelpText);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.HelpTextProperty, _defaultAutomationPropertiesHelpText);
}
protected virtual void SetAutomationPropertiesLabeledBy()
return;
if (_defaultAutomationPropertiesLabeledBy == null)
- _defaultAutomationPropertiesLabeledBy = (UIElement)Control.GetValue(AutomationProperties.LabeledByProperty);
+ _defaultAutomationPropertiesLabeledBy = (UIElement)Control.GetValue(Windows.UI.Xaml.Automation.AutomationProperties.LabeledByProperty);
- var elemValue = (VisualElement)Element.GetValue(Accessibility.LabeledByProperty);
+ var elemValue = (VisualElement)Element.GetValue(AutomationProperties.LabeledByProperty);
var renderer = elemValue?.GetOrCreateRenderer();
var nativeElement = renderer?.GetNativeElement();
if (nativeElement != null)
- Control.SetValue(AutomationProperties.LabeledByProperty, nativeElement);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.LabeledByProperty, nativeElement);
else
- Control.SetValue(AutomationProperties.LabeledByProperty, _defaultAutomationPropertiesLabeledBy);
+ Control.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.LabeledByProperty, _defaultAutomationPropertiesLabeledBy);
}
protected void SetNativeControl(TNativeElement control)
// will prevent us from inadvertently breaking UI Tests that are using Query.Marked to get the dynamic Title
// of the Button.
- var elemValue = (string)Element?.GetValue(Accessibility.NameProperty);
+ var elemValue = (string)Element?.GetValue(AutomationProperties.NameProperty);
if (string.IsNullOrWhiteSpace(elemValue) && Control?.AccessibilityLabel == Control?.Title(UIControlState.Normal))
return;
// will prevent us from inadvertently breaking UI Tests that are using Query.Marked to get the dynamic Text
// of the Label.
- var elemValue = (string)Element?.GetValue(Accessibility.NameProperty);
+ var elemValue = (string)Element?.GetValue(AutomationProperties.NameProperty);
if (string.IsNullOrWhiteSpace(elemValue) && Control?.AccessibilityLabel == Control?.Text)
return;
if (_defaultAccessibilityHint == null)
_defaultAccessibilityHint = Control.AccessibilityHint;
- Control.AccessibilityHint = (string)Element.GetValue(Accessibility.HintProperty) ?? _defaultAccessibilityHint;
+ Control.AccessibilityHint = (string)Element.GetValue(AutomationProperties.HelpTextProperty) ?? _defaultAccessibilityHint;
}
if (_defaultAccessibilityLabel == null)
_defaultAccessibilityLabel = Control.AccessibilityLabel;
- Control.AccessibilityLabel = (string)Element.GetValue(Accessibility.NameProperty) ?? _defaultAccessibilityLabel;
+ Control.AccessibilityLabel = (string)Element.GetValue(AutomationProperties.NameProperty) ?? _defaultAccessibilityLabel;
}
protected override void SetIsAccessibilityElement()
if (!_defaultIsAccessibilityElement.HasValue)
_defaultIsAccessibilityElement = Control.IsAccessibilityElement;
- Control.IsAccessibilityElement = (bool)((bool?)Element.GetValue(Accessibility.IsInAccessibleTreeProperty) ?? _defaultIsAccessibilityElement);
+ Control.IsAccessibilityElement = (bool)((bool?)Element.GetValue(AutomationProperties.IsInAccessibleTreeProperty) ?? _defaultIsAccessibilityElement);
}
#endif
protected override void SetAutomationId(string id)
#if __MOBILE__
else if (e.PropertyName == PlatformConfiguration.iOSSpecific.VisualElement.BlurEffectProperty.PropertyName)
SetBlur((BlurEffectStyle)Element.GetValue(PlatformConfiguration.iOSSpecific.VisualElement.BlurEffectProperty));
- else if (e.PropertyName == Accessibility.HintProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.HelpTextProperty.PropertyName)
SetAccessibilityHint();
- else if (e.PropertyName == Accessibility.NameProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.NameProperty.PropertyName)
SetAccessibilityLabel();
- else if (e.PropertyName == Accessibility.IsInAccessibleTreeProperty.PropertyName)
+ else if (e.PropertyName == AutomationProperties.IsInAccessibleTreeProperty.PropertyName)
SetIsAccessibilityElement();
#endif
}
if (_defaultAccessibilityHint == null)
_defaultAccessibilityHint = AccessibilityHint;
- AccessibilityHint = (string)Element.GetValue(Accessibility.HintProperty) ?? _defaultAccessibilityHint;
+ AccessibilityHint = (string)Element.GetValue(AutomationProperties.HelpTextProperty) ?? _defaultAccessibilityHint;
}
protected virtual void SetAccessibilityLabel()
if (_defaultAccessibilityLabel == null)
_defaultAccessibilityLabel = AccessibilityLabel;
- AccessibilityLabel = (string)Element.GetValue(Accessibility.NameProperty) ?? _defaultAccessibilityLabel;
+ AccessibilityLabel = (string)Element.GetValue(AutomationProperties.NameProperty) ?? _defaultAccessibilityLabel;
}
protected virtual void SetIsAccessibilityElement()
if (!_defaultIsAccessibilityElement.HasValue)
_defaultIsAccessibilityElement = IsAccessibilityElement;
- IsAccessibilityElement = (bool)((bool?)Element.GetValue(Accessibility.IsInAccessibleTreeProperty) ?? _defaultIsAccessibilityElement);
+ IsAccessibilityElement = (bool)((bool?)Element.GetValue(AutomationProperties.IsInAccessibleTreeProperty) ?? _defaultIsAccessibilityElement);
}
#endif
protected virtual void SetAutomationId(string id)
+++ /dev/null
-<?xml version="1.0" encoding="utf-8" ?>
-<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="Xamarin.Forms.Xaml.UnitTests.Accessibility">
-
- <StackLayout>
- <Label x:Name="label" Text="Your Name" />
- <Entry x:Name="entry"
- Accessibility.Name="Name"
- Accessibility.Hint="Sets your name"
- Accessibility.IsInAccessibleTree="true"
- Accessibility.LabeledBy="{x:Reference label}"
- />
- </StackLayout>
-
-</ContentPage>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8" ?>
+<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
+ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
+ x:Class="Xamarin.Forms.Xaml.UnitTests.AutomationProperties">
+
+ <StackLayout>
+ <Label x:Name="label" Text="Your Name" />
+ <Entry x:Name="entry"
+ AutomationProperties.Name="Name"
+ AutomationProperties.HelpText="Sets your name"
+ AutomationProperties.IsInAccessibleTree="true"
+ AutomationProperties.LabeledBy="{x:Reference label}"
+ />
+ </StackLayout>
+
+</ContentPage>
\ No newline at end of file
namespace Xamarin.Forms.Xaml.UnitTests
{
- public partial class Accessibility : ContentPage
+ public partial class AutomationProperties : ContentPage
{
- public Accessibility()
+ public AutomationProperties()
{
InitializeComponent();
}
- public Accessibility(bool useCompiledXaml)
+ public AutomationProperties(bool useCompiledXaml)
{
//this stub will be replaced at compile time
}
[TestCase(false)]
[TestCase(true)]
- public void AccessibilityName(bool useCompiledXaml)
+ public void AutomationPropertiesName(bool useCompiledXaml)
{
- var layout = new Accessibility(useCompiledXaml);
+ var layout = new AutomationProperties(useCompiledXaml);
- Assert.AreEqual("Name", (string)layout.entry.GetValue(Xamarin.Forms.Accessibility.NameProperty));
+ Assert.AreEqual("Name", (string)layout.entry.GetValue(Xamarin.Forms.AutomationProperties.NameProperty));
}
[TestCase(false)]
[TestCase(true)]
- public void AccessibilityHint(bool useCompiledXaml)
+ public void AutomationPropertiesHelpText(bool useCompiledXaml)
{
- var layout = new Accessibility(useCompiledXaml);
+ var layout = new AutomationProperties(useCompiledXaml);
- Assert.AreEqual("Sets your name", (string)layout.entry.GetValue(Xamarin.Forms.Accessibility.HintProperty));
+ Assert.AreEqual("Sets your name", (string)layout.entry.GetValue(Xamarin.Forms.AutomationProperties.HelpTextProperty));
}
[TestCase(false)]
[TestCase(true)]
- public void AccessibilityIsInAccessibleTree(bool useCompiledXaml)
+ public void AutomationPropertiesIsInAccessibleTree(bool useCompiledXaml)
{
- var layout = new Accessibility(useCompiledXaml);
+ var layout = new AutomationProperties(useCompiledXaml);
Application.Current.MainPage = layout;
- Assert.AreEqual(true, (bool)layout.entry.GetValue(Xamarin.Forms.Accessibility.IsInAccessibleTreeProperty));
+ Assert.AreEqual(true, (bool)layout.entry.GetValue(Xamarin.Forms.AutomationProperties.IsInAccessibleTreeProperty));
}
[TestCase(false)]
[TestCase(true)]
- public void AccessibilityLabeledBy(bool useCompiledXaml)
+ public void AutomationPropertiesLabeledBy(bool useCompiledXaml)
{
- var layout = new Accessibility(useCompiledXaml);
+ var layout = new AutomationProperties(useCompiledXaml);
Application.Current.MainPage = layout;
- Assert.AreEqual(layout.label, (Element)layout.entry.GetValue(Xamarin.Forms.Accessibility.LabeledByProperty));
+ Assert.AreEqual(layout.label, (Element)layout.entry.GetValue(Xamarin.Forms.AutomationProperties.LabeledByProperty));
}
}
}
<Compile Include="..\Xamarin.Forms.Core.UnitTests\MockPlatformServices.cs">
<Link>MockPlatformServices.cs</Link>
</Compile>
- <Compile Include="Accessibility.xaml.cs">
- <DependentUpon>Accessibility.xaml</DependentUpon>
+ <Compile Include="AutomationProperties.xaml.cs">
+ <DependentUpon>AutomationProperties.xaml</DependentUpon>
</Compile>
<Compile Include="FontConverterTests.cs" />
<Compile Include="Issues\Bz43450.xaml.cs">
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Accessibility.xaml">
+ <EmbeddedResource Include="AutomationProperties.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
</ItemGroup>
-<Type Name="Accessibility" FullName="Xamarin.Forms.Accessibility">
- <TypeSignature Language="C#" Value="public class Accessibility" />
- <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Accessibility extends System.Object" />
+<Type Name="AutomationProperties" FullName="Xamarin.Forms.AutomationProperties">
+ <TypeSignature Language="C#" Value="public class AutomationProperties" />
+ <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AutomationProperties extends System.Object" />
<AssemblyInfo>
<AssemblyName>Xamarin.Forms.Core</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</Docs>
<Members>
<Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public Accessibility ();" />
+ <MemberSignature Language="C#" Value="public AutomationProperties ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
</AssemblyInfo>
<Parameters />
<Docs>
- <summary>Creates a new <see cref="T:Xamarin.Forms.Accessibility" /> object with default values.</summary>
+ <summary>Creates a new <see cref="T:Xamarin.Forms.AutomationProperties" /> object with default values.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
- <Member MemberName="GetHint">
- <MemberSignature Language="C#" Value="public static string GetHint (Xamarin.Forms.BindableObject bindable);" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetHint(class Xamarin.Forms.BindableObject bindable) cil managed" />
+ <Member MemberName="GetHelpText">
+ <MemberSignature Language="C#" Value="public static string GetHelpText (Xamarin.Forms.BindableObject bindable);" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetHelpText(class Xamarin.Forms.BindableObject bindable) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<remarks>To be added.</remarks>
</Docs>
</Member>
- <Member MemberName="HintProperty">
- <MemberSignature Language="C#" Value="public static readonly Xamarin.Forms.BindableProperty HintProperty;" />
- <MemberSignature Language="ILAsm" Value=".field public static initonly class Xamarin.Forms.BindableProperty HintProperty" />
+ <Member MemberName="HelpTextProperty">
+ <MemberSignature Language="C#" Value="public static readonly Xamarin.Forms.BindableProperty HelpTextProperty;" />
+ <MemberSignature Language="ILAsm" Value=".field public static initonly class Xamarin.Forms.BindableProperty HelpTextProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<remarks>To be added.</remarks>
</Docs>
</Member>
- <Member MemberName="SetHint">
- <MemberSignature Language="C#" Value="public static void SetHint (Xamarin.Forms.BindableObject bindable, string value);" />
- <MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetHint(class Xamarin.Forms.BindableObject bindable, string value) cil managed" />
+ <Member MemberName="SetHelpText">
+ <MemberSignature Language="C#" Value="public static void SetHelpText (Xamarin.Forms.BindableObject bindable, string value);" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetHelpText(class Xamarin.Forms.BindableObject bindable, string value) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<Type Name="AbsoluteLayout" Kind="Class" />
<Type Name="AbsoluteLayout+IAbsoluteList`1" DisplayName="AbsoluteLayout+IAbsoluteList<T>" Kind="Interface" />
<Type Name="AbsoluteLayoutFlags" Kind="Enumeration" />
- <Type Name="Accessibility" Kind="Class" />
<Type Name="ActivityIndicator" Kind="Class" />
<Type Name="Animation" Kind="Class" />
<Type Name="AnimationExtensions" Kind="Class" />
<Type Name="Application" Kind="Class" />
<Type Name="AppLinkEntry" Kind="Class" />
<Type Name="Aspect" Kind="Enumeration" />
+ <Type Name="AutomationProperties" Kind="Class" />
<Type Name="BackButtonPressedEventArgs" Kind="Class" />
<Type Name="BaseMenuItem" Kind="Class" />
<Type Name="Behavior" Kind="Class" />