Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AutomationElement.AutomationElementInformation.IsOffscreen Property

Gets a value that indicates whether the UI Automation element is visible on the screen.

Namespace:  System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)
public bool IsOffscreen { get; }

Property Value

Type: System.Boolean
true if the control is not visible; otherwise false.

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.

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.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.