IWindowProvider IWindowProvider IWindowProvider IWindowProvider Interface

Definition

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

public interface class IWindowProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("987df77b-db06-4d77-8f8a-86a9c3bb90b9")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IWindowProvider
type IWindowProvider = interface
Public Interface IWindowProvider
Attributes

Remarks

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

Properties

InteractionState InteractionState InteractionState InteractionState

Gets the interaction state of the window.

IsModal IsModal IsModal IsModal

Gets a value that specifies whether the window is modal.

IsTopmost IsTopmost IsTopmost IsTopmost

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

Maximizable Maximizable Maximizable Maximizable

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

Minimizable Minimizable Minimizable Minimizable

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

VisualState VisualState VisualState VisualState

Gets the visual state of the window.

Methods

Close() Close() Close() Close()

Attempts to close the window.

SetVisualState(WindowVisualState) SetVisualState(WindowVisualState) SetVisualState(WindowVisualState) SetVisualState(WindowVisualState)

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

WaitForInputIdle(Int32) WaitForInputIdle(Int32) WaitForInputIdle(Int32) WaitForInputIdle(Int32)

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

Applies to

See also