Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 2.24 KB

automationelementidentifiers.md

File metadata and controls

23 lines (16 loc) · 2.24 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Automation.AutomationElementIdentifiers
winrt class

Microsoft.UI.Xaml.Automation.AutomationElementIdentifiers

-description

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

-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 AutomationPeer.RaisePropertyChangedEvent calls that you make from control code that references your own peer, or for Provider.IItemContainerProvider.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 Microsoft UI Automation tree. One such property identifier list for clients is documented in the topic Automation Element Property Identifiers.

-examples

-see-also

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