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)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public bool IsOffscreen { get; }
/** @property */
public boolean get_IsOffscreen ()

public function get IsOffscreen () : boolean

Not applicable.

Property Value

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.