AutomationProperties AutomationProperties Class

Definition

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

public class AutomationProperties
type AutomationProperties = class
Inheritance
AutomationPropertiesAutomationProperties

Constructors

AutomationProperties() AutomationProperties()

Creates a new AutomationProperties object with default values.

Fields

HelpTextProperty HelpTextProperty

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

IsInAccessibleTreeProperty IsInAccessibleTreeProperty

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

LabeledByProperty LabeledByProperty

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

NameProperty NameProperty

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

Methods

GetHelpText(BindableObject) GetHelpText(BindableObject)

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

GetIsInAccessibleTree(BindableObject) GetIsInAccessibleTree(BindableObject)

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

GetLabeledBy(BindableObject) 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) GetName(BindableObject)

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

SetHelpText(BindableObject, String) SetHelpText(BindableObject, String)

Sets the help text for bindable.

SetIsInAccessibleTree(BindableObject, Nullable<Boolean>) SetIsInAccessibleTree(BindableObject, Nullable<Boolean>)

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

SetLabeledBy(BindableObject, VisualElement) SetLabeledBy(BindableObject, VisualElement)

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

SetName(BindableObject, String) SetName(BindableObject, String)

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

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to