Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.88 KB

iwindowprovider.md

File metadata and controls

27 lines (17 loc) · 1.88 KB
-api-id -api-type
T:Windows.UI.Xaml.Automation.Provider.IWindowProvider
winrt interface

Windows.UI.Xaml.Automation.Provider.IWindowProvider

-description

Exposes methods and properties to support access by a Microsoft UI Automation client to controls that provide fundamental window-based functionality within a traditional graphical user interface (GUI). Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.Window.

-remarks

For more info on what this pattern is for, see Window Control Pattern.

IWindowProvider isn't implemented by any existing Windows Runtime automation peers. The interface exists so that custom control authors can support the automation pattern in a custom control, and implement their automation support using the same Windows Runtime managed or C++ API as they use to define control logic or other automation support.

Use WindowPatternIdentifiers if you want to reference the IWindowProvider pattern properties from control code when you fire automation events or call RaisePropertyChangedEvent.

-examples

-see-also

WindowPatternIdentifiers, IWindowProvider (COM interface), Custom automation peers, Window Control Pattern