Xamarin.Forms Guides | Samples

Xamarin.Forms.AutomationProperties Class

Contains both abbreviated and detailed UI information that is supplied to accessibility services.

See Also: AutomationProperties

Syntax

public class AutomationProperties

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 2.0.0.0

The members of Xamarin.Forms.AutomationProperties are listed below.

See Also: Object

Public Constructors

Creates a new AutomationProperties object with default values.

Public Fields

static readonly
HelpTextPropertyBindableProperty. Backing store for the attached property that contains the detailed description of the UI element and its behavior.
static readonly
IsInAccessibleTreePropertyBindableProperty. Backing store for the attached property that contains a Boolean value that tells whether the element is available to the accessible app.
static readonly
LabeledByPropertyBindableProperty. Backing store for the attached property that holds a reference to the element that labels the element that is being made accessible.
static readonly
NamePropertyBindableProperty. Backing store for the attached property that contains the brief description of the UI element

Public Methods

static
GetHelpText(BindableObject) : String
Returns the help text, if any, for the bindable object.
static
GetIsInAccessibleTree(BindableObject) : Nullable<bool>
Gets a nullable Boolean value that tells whether the bindable object is available to the accessibility system.
static
GetLabeledBy(BindableObject) : VisualElement
Returns the element that labels bindable, if bindable does not label itself and if another element describes it in the UI.
static
GetName(BindableObject) : String
Returns the short, developer-specified, introductory name of the element, such as "Progress Indicator" or "Button".
static
SetHelpText(BindableObject, String)
Sets the help text for bindable.
static
SetIsInAccessibleTree(BindableObject, Nullable<bool>)
Sets a Boolean value that tells whether the bindable object is available to the accessibility system.
static
SetLabeledBy(BindableObject, VisualElement)
Sets another element, such as a Label as the label for bindable.
static
SetName(BindableObject, String)
Sets the short, developer-specified, introductory name of the element, such as "Progress Indicator" or "Button"..