IWindowProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
public interface IWindowProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("987df77b-db06-4d77-8f8a-86a9c3bb90b9")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IWindowProvider = interface
type IWindowProvider = interface
Public Interface IWindowProvider
- Attributes
Remarks
Implemented on a UI Automation provider that must support the WindowPattern control pattern.
Properties
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. |
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. |
Methods
Close() |
Attempts to close the window. |
SetVisualState(WindowVisualState) |
Changes the visual state of the window. For example, minimizes or maximizes it. |
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기