Поделиться через


AutomationElementIdentifiers Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Inheritance Hierarchy

System.Object
  System.Windows.Automation.AutomationElementIdentifiers

Namespace:  System.Windows.Automation
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public NotInheritable Class AutomationElementIdentifiers
public static class AutomationElementIdentifiers

The AutomationElementIdentifiers type exposes the following members.

Fields

  Name Description
Public fieldStatic memberSupported by Silverlight for Windows Phone AcceleratorKeyProperty Identifies the accelerator key automation property. The accelerator key property value is returned by the GetAcceleratorKey method.
Public fieldStatic memberSupported by Silverlight for Windows Phone AccessKeyProperty Identifies the access key automation property. The access key property value is returned by the GetAccessKey method.
Public fieldStatic memberSupported by Silverlight for Windows Phone AutomationIdProperty Identifies the automation element identifier automation property. The automation element identifier value is returned by the GetAutomationId method.
Public fieldStatic memberSupported by Silverlight for Windows Phone BoundingRectangleProperty Identifies the bounding rectangle automation property. The bounding rectangle property value is returned by the GetBoundingRectangle method.
Public fieldStatic memberSupported by Silverlight for Windows Phone ClassNameProperty Identifies the class name automation property. The class name property value is returned by the GetClassName method.
Public fieldStatic memberSupported by Silverlight for Windows Phone ClickablePointProperty Identifies the clickable point automation property. A valid clickable point property value is returned by the GetClickablePoint method.
Public fieldStatic memberSupported by Silverlight for Windows Phone ControlTypeProperty Identifies the control type automation property. The control type property value is returned by the GetAutomationControlType method.
Public fieldStatic memberSupported by Silverlight for Windows Phone HasKeyboardFocusProperty Identifies the keyboard focus automation property. The keyboard focus state is returned by the HasKeyboardFocus method.
Public fieldStatic memberSupported by Silverlight for Windows Phone HelpTextProperty Identifies the help text automation property. The help text property value is returned by the GetHelpText method.
Public fieldStatic memberSupported by Silverlight for Windows Phone IsContentElementProperty Identifies the content element determination automation property. The content element status indicates whether the element contains content that is valuable to the end user. The current status is returned by the IsContentElement method.
Public fieldStatic memberSupported by Silverlight for Windows Phone IsControlElementProperty Identifies the control element determination automation property. The control element status indicates whether the element contains user interface components that can be manipulated. The current status is returned by the IsControlElement method.
Public fieldStatic memberSupported by Silverlight for Windows Phone IsEnabledProperty Identifies the enabled determination automation property. The enabled status indicates whether the item referenced by the automation peer is enabled. The current status is returned by the IsEnabled method.
Public fieldStatic memberSupported by Silverlight for Windows Phone IsKeyboardFocusableProperty Identifies the keyboard-focusable determination automation property. The keyboard focusable status is returned by the IsKeyboardFocusable method.
Public fieldStatic memberSupported by Silverlight for Windows Phone IsOffscreenProperty Identifies the offscreen determination automation property. The offscreen status indicates whether the item referenced by the automation peer is off the screen. The current status is returned by the IsOffscreen method.
Public fieldStatic memberSupported by Silverlight for Windows Phone IsPasswordProperty Identifies the password determination automation property. The password status indicates whether the item referenced by the automation peer contains a password. The current status is returned by the IsPassword method.
Public fieldStatic memberSupported by Silverlight for Windows Phone IsRequiredForFormProperty Identifies the form requirement determination automation property. The form requirement status indicates whether the element must be completed on a form. The current status is returned by the IsRequiredForForm method.
Public fieldStatic memberSupported by Silverlight for Windows Phone ItemStatusProperty Identifies the item status automation property. The current item status is returned by the GetItemStatus method.
Public fieldStatic memberSupported by Silverlight for Windows Phone ItemTypeProperty Identifies the item type automation property. The item type value is returned by GetItemType method.
Public fieldStatic memberSupported by Silverlight for Windows Phone LabeledByProperty Identifies the labeled-by peer automation property. The current label peer is returned by the GetLabeledBy method.
Public fieldStatic memberSupported by Silverlight for Windows Phone LocalizedControlTypeProperty Identifies the localized control type automation property. The current localized control type is returned by the GetLocalizedControlTypeCore method.
Public fieldStatic memberSupported by Silverlight for Windows Phone NameProperty Identifies the element name automation property. The current name is returned by the GetName method.
Public fieldStatic memberSupported by Silverlight for Windows Phone OrientationProperty Identifies the orientation automation property. The current orientation value is returned by the GetOrientation method.

Top

Remarks

AutomationElementIdentifiers contains static defined values for various automation property identifiers that are common to the overall UI automation system. These property identifiers are of type AutomationProperty. Because AutomationProperty cannot be constructed by your code, automation property identifiers are obtained by getting the static values of this class, or from similar classes that identify the automation properties of specific provider patterns. In Silverlight UI automation, an AutomationProperty has no accessible properties, so the only usages are as a pure identifier. Specifically, a Silverlight UI automation AutomationProperty does not have an ID property.

You also use AutomationElementIdentifiers values(or specific provider automation property identifiers) in order to identify the specific automation property that changed when you call RaisePropertyChangedEvent.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.