WindowPatternIdentifiers WindowPatternIdentifiers WindowPatternIdentifiers WindowPatternIdentifiers Class


Contains values used as identifiers by IWindowProvider.

public : sealed class WindowPatternIdentifiers
struct winrt::Windows::UI::Xaml::Automation::WindowPatternIdentifiers
public sealed class WindowPatternIdentifiers
Public NotInheritable Class WindowPatternIdentifiers

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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 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. 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.


CanMaximizeProperty CanMaximizeProperty CanMaximizeProperty CanMaximizeProperty

Identifies the Maximizable automation property.

CanMinimizeProperty CanMinimizeProperty CanMinimizeProperty CanMinimizeProperty

Identifies the Minimizable automation property.

IsModalProperty IsModalProperty IsModalProperty IsModalProperty

Identifies the IsModal automation property.

IsTopmostProperty IsTopmostProperty IsTopmostProperty IsTopmostProperty

Identifies the IsTopmost automation property.

WindowInteractionStateProperty WindowInteractionStateProperty WindowInteractionStateProperty WindowInteractionStateProperty

Identifies the InteractionState automation property.

WindowVisualStateProperty WindowVisualStateProperty WindowVisualStateProperty WindowVisualStateProperty

Identifies the VisualState automation property.

See also