Windows Dev Center

WindowPatternIdentifiers class

Contains values used as identifiers by IWindowProvider.

Inheritance

Object
  WindowPatternIdentifiers

Syntax


Public NotInheritable Class WindowPatternIdentifiers

Members

The WindowPatternIdentifiers class has these types of members:

Methods

The WindowPatternIdentifiers class inherits methods from the Object class.

Properties

The WindowPatternIdentifiers class has these properties.

PropertyAccess typeDescription

CanMaximizeProperty

Read-onlyIdentifies the Maximizable automation property.

CanMinimizeProperty

Read-onlyIdentifies the Minimizable automation property.

IsModalProperty

Read-onlyIdentifies the IsModal automation property.

IsTopmostProperty

Read-onlyIdentifies the IsTopmost automation property.

WindowInteractionStateProperty

Read-onlyIdentifies the InteractionState automation property.

WindowVisualStateProperty

Read-onlyIdentifies the VisualState automation property.

 

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

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
IWindowProvider
Control patterns and interfaces
Custom automation peers

 

 

Show:
© 2015 Microsoft