Exposes the properties of an annotation in a document. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.Annotation.
The IAnnotationProvider interface has these types of members:
The IAnnotationProvider interface has these properties.
|Read-only||Gets the annotation type identifier of this annotation.|
|Read-only||Gets the name of this annotation type.|
|Read-only||Gets the name of the annotation author.|
|Read-only||Gets the date and time when this annotation was created.|
|Read-only||Gets the UI Automation element that is being annotated.|
The Annotation control pattern is used to expose the properties of an annotation in a document. One example is a comment balloon that is in the margin of a document and is connected to some document text or a spreadsheet cell. For more info on what this pattern is for, see Annotation Control Pattern.
IAnnotationProvider isn't implemented by any existing Windows Runtime automation peers. The interface exists so that custom control authors can support the automation pattern in a custom control, and implement their automation support using the same Windows Runtime managed or C++ APIs as they use to define control logic or other automation support.
Minimum supported client
Minimum supported server
|Windows Server 2012|
Minimum supported phone
|Windows Phone 8.1 [Windows Runtime apps only]|
- IAnnotationProvider (COM)
- Custom automation peers
- Annotation Control Pattern