AnnotationPatternIdentifiers AnnotationPatternIdentifiers AnnotationPatternIdentifiers AnnotationPatternIdentifiers Class


Contains values used as identifiers by IAnnotationProvider.

public : sealed class AnnotationPatternIdentifiers
struct winrt::Windows::UI::Xaml::Automation::AnnotationPatternIdentifiers
public sealed class AnnotationPatternIdentifiers
Public NotInheritable Class AnnotationPatternIdentifiers

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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 GetPattern implementation. 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 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.


AnnotationTypeIdProperty AnnotationTypeIdProperty AnnotationTypeIdProperty AnnotationTypeIdProperty

Gets the identifier for the AnnotationTypeId automation property.

AnnotationTypeNameProperty AnnotationTypeNameProperty AnnotationTypeNameProperty AnnotationTypeNameProperty

Gets the identifier for the AnnotationTypeName automation property.

AuthorProperty AuthorProperty AuthorProperty AuthorProperty

Gets the identifier for the Author automation property.

DateTimeProperty DateTimeProperty DateTimeProperty DateTimeProperty

Gets the identifier for the DateTime automation property.

TargetProperty TargetProperty TargetProperty TargetProperty

Gets the identifier for the Target automation property.

See also