IWindowProvider Interface
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Exposes methods and properties to support access by a UI automation client to controls that provide fundamental window-based functionality within a traditional graphical user interface (GUI).
Assembly: System.Windows (in System.Windows.dll)
The IWindowProvider type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | InteractionState | Gets the interaction state of the window. |
![]() | IsModal | Gets a value that specifies whether the window is modal. |
![]() | IsTopmost | Gets a value that specifies whether the window is the topmost element in the z-order of layout. |
![]() | Maximizable | Gets a value that specifies whether the window can be maximized. |
![]() | Minimizable | Gets a value that specifies whether the window can be minimized. |
![]() | VisualState | Gets the visual state of the window. |
| Name | Description | |
|---|---|---|
![]() | Close | Closes the window. |
![]() | SetVisualState | Changes the visual state of the window (such as minimizing or maximizing it). |
![]() | WaitForInputIdle | Blocks the calling code for the specified time or until the associated process enters an idle state, whichever completes first. |
Show:

