Gets a value that indicates whether the UI Automation element is visible on the screen.
Assembly: UIAutomationClient (in UIAutomationClient.dll)
The value is true if the element is entirely scrolled out of view (for example, an item in a list box) or collapsed out of view (for example, an item in a tree view or menu, or a minimized window). If the element has a clickable point that can cause it to be focused, it is considered to be onscreen.
The value of the property is not affected by occlusion by other windows, or by whether the element is visible on a specific monitor.
When the value is true for a container, it is also true for the container element's descendants.
For more information, see IsOffscreenProperty.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.