IWindowProvider Interface

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

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)

No code example is currently available or this language may not be supported.

The IWindowProvider type exposes the following members.

  NameDescription
Public propertyInteractionStateGets the interaction state of the window.
Public propertyIsModalGets a value that specifies whether the window is modal.
Public propertyIsTopmostGets a value that specifies whether the window is the topmost element in the z-order of layout.
Public propertyMaximizableGets a value that specifies whether the window can be maximized.
Public propertyMinimizableGets a value that specifies whether the window can be minimized.
Public propertyVisualStateGets the visual state of the window.
Top

  NameDescription
Public methodCloseCloses the window.
Public methodSetVisualStateChanges the visual state of the window (such as minimizing or maximizing it).
Public methodWaitForInputIdleBlocks the calling code for the specified time or until the associated process enters an idle state, whichever completes first.
Top

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft