WindowPatternIdentifiers WindowPatternIdentifiers WindowPatternIdentifiers Class

Contains values used as identifiers by IWindowProvider.

Syntax

Declaration

public sealed class WindowPatternIdentifierspublic sealed class WindowPatternIdentifiersPublic NotInheritable Class WindowPatternIdentifiers

Remarks

Classes such as WindowPatternIdentifiers 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 IWindowProvider in its GetPattern(Windows.UI.Xaml.Automation.Peers.PatternInterface) implementation. These identifiers are needed for the RaisePropertyChangedEvent(Windows.UI.Xaml.Automation.AutomationProperty,System.Object,System.Object) calls that you make from control code that references your own peer, or for FindItemByProperty(Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple,Windows.UI.Xaml.Automation.AutomationProperty,System.Object) in an items container peer. Using this pattern for controls is fairly uncommon.

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

Properties summary

Identifies the Maximizable automation property.

Identifies the Minimizable automation property.

Identifies the IsModal automation property.

Identifies the IsTopmost automation property.

Identifies the InteractionState automation property.

Identifies the VisualState automation property.

Properties

  • CanMaximizeProperty
    CanMaximizeProperty
    CanMaximizeProperty
    CanMaximizeProperty

    Identifies the Maximizable automation property.

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

    Property Value

  • CanMinimizeProperty
    CanMinimizeProperty
    CanMinimizeProperty
    CanMinimizeProperty

    Identifies the Minimizable automation property.

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

    Property Value

  • IsModalProperty
    IsModalProperty
    IsModalProperty
    IsModalProperty

    Identifies the IsModal automation property.

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

    Property Value

  • IsTopmostProperty
    IsTopmostProperty
    IsTopmostProperty
    IsTopmostProperty

    Identifies the IsTopmost automation property.

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

    Property Value

  • WindowInteractionStateProperty
    WindowInteractionStateProperty
    WindowInteractionStateProperty
    WindowInteractionStateProperty

    Identifies the InteractionState automation property.

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

    Property Value

  • WindowVisualStateProperty
    WindowVisualStateProperty
    WindowVisualStateProperty
    WindowVisualStateProperty

    Identifies the VisualState automation property.

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

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

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

Details

Assembly

Windows.UI.Xaml.Automation.dll