AutomationProperties Class

Definition

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

public class AutomationProperties
type AutomationProperties = class
Inheritance
AutomationProperties

Constructors

AutomationProperties()

Creates a new AutomationProperties object with default values.

Fields

HelpTextProperty

Backing store for the attached property that contains the detailed description of the UI element and its behavior.

IsInAccessibleTreeProperty

Backing store for the attached property that contains a Boolean value that tells whether the element is available to the accessible app.

LabeledByProperty

Backing store for the attached property that holds a reference to the element that labels the element that is being made accessible.

NameProperty

Backing store for the attached property that contains the brief description of the UI element

Methods

GetHelpText(BindableObject)

Returns the help text, if any, for the bindable object.

GetIsInAccessibleTree(BindableObject)

Gets a nullable Boolean value that tells whether the bindable object is available to the accessibility system.

GetLabeledBy(BindableObject)

Returns the element that labels bindable, if bindable does not label itself and if another element describes it in the UI.

GetName(BindableObject)

Returns the short, developer-specified, introductory name of the element, such as "Progress Indicator" or "Button".

SetHelpText(BindableObject, String)

Sets the help text for bindable.

SetIsInAccessibleTree(BindableObject, Nullable<Boolean>)

Sets a Boolean value that tells whether the bindable object is available to the accessibility system.

SetLabeledBy(BindableObject, VisualElement)

Sets another element, such as a Label as the label for bindable.

SetName(BindableObject, String)

Sets the short, developer-specified, introductory name of the element, such as "Progress Indicator" or "Button".

Applies to