AnnotationPatternIdentifiers Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains values used as identifiers by IAnnotationProvider.
public ref class AnnotationPatternIdentifiers sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AnnotationPatternIdentifiers final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AnnotationPatternIdentifiers
Public NotInheritable Class AnnotationPatternIdentifiers
- Inheritance
- Attributes
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.
Properties
AnnotationTypeIdProperty |
Gets the identifier for the AnnotationTypeId automation property. |
AnnotationTypeNameProperty |
Gets the identifier for the AnnotationTypeName automation property. |
AuthorProperty |
Gets the identifier for the Author automation property. |
DateTimeProperty |
Gets the identifier for the DateTime automation property. |
TargetProperty |
Gets the identifier for the Target automation property. |