[C] fix BP declaring Types for A11y (#913)
This commit is contained in:
Родитель
4e83b8ee0f
Коммит
a0801dc345
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче