Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.96 KB

annotationpatternidentifiers.md

File metadata and controls

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

Microsoft.UI.Xaml.Automation.AnnotationPatternIdentifiers

-description

Contains values used as identifiers by IAnnotationProvider.

-remarks

Classes such as AnnotationPatternIdentifiers are the identifiers for the Windows Runtime implementation of a common provider pattern for Microsoft UI Automation. You might use these identifiers if you are implementing a Windows Runtime custom automation peer that reports support for IAnnotationProvider in its AutomationPeer.GetPattern implementation. 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 pattern 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. IAnnotationProvider is also presented as a Component Object Model (COM) interface.

-examples

-see-also

IAnnotationProvider, Control patterns and interfaces, Custom automation peers