AnnotationPatternIdentifiers AnnotationPatternIdentifiers AnnotationPatternIdentifiers Class

Contains values used as identifiers by IAnnotationProvider.

Syntax

Declaration

public sealed class AnnotationPatternIdentifierspublic sealed class AnnotationPatternIdentifiersPublic NotInheritable Class AnnotationPatternIdentifiers

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(PatternInterface) implementation. These identifiers are needed for the RaisePropertyChangedEvent(AutomationProperty, Object, Object) calls that you make from control code that references your own peer, or for FindItemByProperty(IRawElementProviderSimple, AutomationProperty, Object) 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 summary

Gets the identifier for the AnnotationTypeId automation property.

Gets the identifier for the AnnotationTypeName automation property.

Gets the identifier for the Author automation property.

Gets the identifier for the DateTime automation property.

Gets the identifier for the Target automation property.

Properties

  • AnnotationTypeIdProperty
    AnnotationTypeIdProperty
    AnnotationTypeIdProperty
    AnnotationTypeIdProperty

    Gets the identifier for the AnnotationTypeId automation property.

    public static AutomationProperty AnnotationTypeIdProperty { get; }public static AutomationProperty AnnotationTypeIdProperty { get; }Public Static ReadOnly Property AnnotationTypeIdProperty As AutomationPropertypublic static AutomationProperty AnnotationTypeIdProperty { get; }

    Property Value

  • AnnotationTypeNameProperty
    AnnotationTypeNameProperty
    AnnotationTypeNameProperty
    AnnotationTypeNameProperty

    Gets the identifier for the AnnotationTypeName automation property.

    public static AutomationProperty AnnotationTypeNameProperty { get; }public static AutomationProperty AnnotationTypeNameProperty { get; }Public Static ReadOnly Property AnnotationTypeNameProperty As AutomationPropertypublic static AutomationProperty AnnotationTypeNameProperty { get; }

    Property Value

  • AuthorProperty
    AuthorProperty
    AuthorProperty
    AuthorProperty

    Gets the identifier for the Author automation property.

    public static AutomationProperty AuthorProperty { get; }public static AutomationProperty AuthorProperty { get; }Public Static ReadOnly Property AuthorProperty As AutomationPropertypublic static AutomationProperty AuthorProperty { get; }

    Property Value

  • DateTimeProperty
    DateTimeProperty
    DateTimeProperty
    DateTimeProperty

    Gets the identifier for the DateTime automation property.

    public static AutomationProperty DateTimeProperty { get; }public static AutomationProperty DateTimeProperty { get; }Public Static ReadOnly Property DateTimeProperty As AutomationPropertypublic static AutomationProperty DateTimeProperty { get; }

    Property Value

  • TargetProperty
    TargetProperty
    TargetProperty
    TargetProperty

    Gets the identifier for the Target automation property.

    public static AutomationProperty TargetProperty { get; }public static AutomationProperty TargetProperty { get; }Public Static ReadOnly Property TargetProperty As AutomationPropertypublic static AutomationProperty TargetProperty { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Automation.dll