Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IWindowProvider Interface

 

Exposes methods and properties to support UI Automation client access to controls that provide fundamental window-based functionality within a traditional graphical user interface (GUI).

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

[ComVisibleAttribute(true)]
[GuidAttribute("987df77b-db06-4d77-8f8a-86a9c3bb90b9")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IWindowProvider

NameDescription
System_CAPS_pubpropertyInteractionState

Gets the interaction state of the window.

System_CAPS_pubpropertyIsModal

Gets a value that specifies whether the window is modal.

System_CAPS_pubpropertyIsTopmost

Gets a value that specifies whether the window is the topmost element in the z-order.

System_CAPS_pubpropertyMaximizable

Gets a value that specifies whether the window can be maximized.

System_CAPS_pubpropertyMinimizable

Gets a value that specifies whether the window can be minimized.

System_CAPS_pubpropertyVisualState

Gets the visual state of the window.

NameDescription
System_CAPS_pubmethodClose()

Attempts to close the window.

System_CAPS_pubmethodSetVisualState(WindowVisualState)

Changes the visual state of the window. For example, minimizes or maximizes it.

System_CAPS_pubmethodWaitForInputIdle(Int32)

Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first.

Implemented on a UI Automation provider that must support the WindowPattern control pattern.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft