AutomationElementIdentifiers class

Applies to Windows and Windows Phone

Contains values used as automation property identifiers by UI Automation providers and UI Automation clients.

Inheritance

Object
  AutomationElementIdentifiers

Syntax

Public NotInheritable Class AutomationElementIdentifiers

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Members

The AutomationElementIdentifiers class has these types of members:

Methods

The AutomationElementIdentifiers class inherits methods from the Object class.

Properties

The AutomationElementIdentifiers class has these properties.

PropertyAccess typeDescription

AcceleratorKeyProperty

Read-onlyIdentifies the accelerator key automation property.

AccessKeyProperty

Read-onlyIdentifies the access key automation property.

AutomationIdProperty

Read-onlyIdentifies the automation element identifier automation property.

BoundingRectangleProperty

Read-onlyIdentifies the bounding rectangle automation property.

ClassNameProperty

Read-onlyIdentifies the class name automation property.

ClickablePointProperty

Read-onlyIdentifies the clickable point automation property.

ControlledPeersProperty

Read-onlyIdentifies the controlled peers automation property.

ControlTypeProperty

Read-onlyIdentifies the control type automation property.

HasKeyboardFocusProperty

Read-onlyIdentifies the keyboard focus automation property.

HelpTextProperty

Read-onlyIdentifies the help text automation property.

IsContentElementProperty

Read-onlyIdentifies the content element determination automation property. The content element status indicates whether the element contains content that is valuable to the end user.

IsControlElementProperty

Read-onlyIdentifies the control element determination automation property. The control element status indicates whether the element contains user interface components that can be manipulated.

IsEnabledProperty

Read-onlyIdentifies the enabled determination automation property. The enabled status indicates whether the item referenced by the automation peer is enabled.

IsKeyboardFocusableProperty

Read-onlyIdentifies the keyboard-focusable determination automation property.

IsOffscreenProperty

Read-onlyIdentifies the offscreen determination automation property. The offscreen status indicates whether the item referenced by the automation peer is off the screen.

IsPasswordProperty

Read-onlyIdentifies the password determination automation property. The password status indicates whether the item referenced by the automation peer contains a password.

IsRequiredForFormProperty

Read-onlyIdentifies the form requirement determination automation property. The form requirement status indicates whether the element must be completed on a form.

ItemStatusProperty

Read-onlyIdentifies the item status automation property.

ItemTypeProperty

Read-onlyIdentifies the item type automation property.

LabeledByProperty

Read-onlyIdentifies the labeled-by peer automation property.

LiveSettingProperty

Read-onlyIdentifies the live settings automation property. The live settings property value is returned by the GetLiveSetting method.

LocalizedControlTypeProperty

Read-onlyIdentifies the localized control type automation property.

NameProperty

Read-onlyIdentifies the element name automation property.

OrientationProperty

Read-onlyIdentifies the orientation automation property.

 

Remarks

Classes such as AutomationElementIdentifiers are the identifiers for the Windows Runtime implementation of a common provider pattern for Microsoft UI Automation. AutomationElementIdentifiers identifies the general automation peer properties that are part of the basic peer functionality, as opposed to being related to a specific automation control pattern. You might use these identifiers if you are implementing a Windows Runtime custom automation peer based on AutomationPeer or FrameworkElementAutomationPeer. These identifiers are needed for the RaisePropertyChangedEvent calls that you make from control code that references your own peer, or for FindItemByProperty in an items container peer.

This same set of property identifiers is usually exposed to clients in a different way, depending on which technology they use to implement the client and examine the UI Automation tree. One such property identifier list for clients is documented in the topic Automation Element Property Identifiers.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.winmd

See also

FrameworkElementAutomationPeer
Automation Element Property Identifiers
Control patterns and interfaces
Custom automation peers

 

 

Show:
© 2014 Microsoft