AnnotationPatternIdentifiers class

Applies to Windows and Windows Phone

Contains values used as identifiers by IAnnotationProvider.

Inheritance

Object
  AnnotationPatternIdentifiers

Syntax


public sealed class AnnotationPatternIdentifiers

Attributes

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

Members

The AnnotationPatternIdentifiers class has these types of members:

Methods

The AnnotationPatternIdentifiers class inherits methods from the Object class.

Properties

The AnnotationPatternIdentifiers class has these properties.

PropertyAccess typeDescription

AnnotationTypeIdProperty

Read-onlyGets the identifier for the AnnotationTypeId automation property.

AnnotationTypeNameProperty

Read-onlyGets the identifier for the AnnotationTypeName automation property.

AuthorProperty

Read-onlyGets the identifier for the Author automation property.

DateTimeProperty

Read-onlyGets the identifier for the DateTime automation property.

TargetProperty

Read-onlyGets the identifier for the Target automation property.

 

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 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 UI Automation tree. IAnnotationProvider is also presented as a Component Object Model (COM) interface.

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

IAnnotationProvider
Control patterns and interfaces
Custom automation peers

 

 

Show:
© 2014 Microsoft